[Rcpp-commits] r4189 - in pkg/Rcpp: . R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Jan 11 17:08:35 CET 2013
Author: jjallaire
Date: 2013-01-11 17:08:34 +0100 (Fri, 11 Jan 2013)
New Revision: 4189
Modified:
pkg/Rcpp/ChangeLog
pkg/Rcpp/R/Attributes.R
Log:
add built-in cpp11 plugin
Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog 2013-01-11 15:45:29 UTC (rev 4188)
+++ pkg/Rcpp/ChangeLog 2013-01-11 16:08:34 UTC (rev 4189)
@@ -1,6 +1,7 @@
2014-01-11 JJ Allaire <jj at rstudio.org>
- * R/Attributes.R: initial support for Rcpp::plugins attribute
+ * R/Attributes.R: initial support for Rcpp::plugins attribute; add
+ built-in cpp11 plugin
* src/attributes.cpp: initial support for Rcpp::plugins attribute
2014-01-04 JJ Allaire <jj at rstudio.org>
Modified: pkg/Rcpp/R/Attributes.R
===================================================================
--- pkg/Rcpp/R/Attributes.R 2013-01-11 15:45:29 UTC (rev 4188)
+++ pkg/Rcpp/R/Attributes.R 2013-01-11 16:08:34 UTC (rev 4189)
@@ -314,6 +314,10 @@
}
+# built-in C++11 plugin
+cpp11 <- function() list(env = list(PKG_CXXFLAGS ="-std=c++11"))
+
+
# Take an empty function body and connect it to the specified external symbol
sourceCppFunction <- function(func, isVoid, dll, symbol) {
More information about the Rcpp-commits
mailing list