[Rcpp-commits] r2046 - pkg/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Aug 19 11:12:09 CEST 2010


Author: romain
Date: 2010-08-19 11:12:09 +0200 (Thu, 19 Aug 2010)
New Revision: 2046

Modified:
   pkg/Rcpp/NEWS
Log:
mention RCPP_VERSION and Rcpp_Version in NEWS

Modified: pkg/Rcpp/NEWS
===================================================================
--- pkg/Rcpp/NEWS	2010-08-19 09:06:59 UTC (rev 2045)
+++ pkg/Rcpp/NEWS	2010-08-19 09:12:09 UTC (rev 2046)
@@ -1,5 +1,12 @@
 0.8.6   (future)
 
+	o	new macro RCPP_VERSION and Rcpp_Version to allow conditional compiling
+	based on the version of Rcpp
+	
+	#if defined(RCPP_VERSION) && RCPP_VERSION >= Rcpp_Version(0,8,6)
+	...
+	#endif
+
     o   new sugar functions for statistical distributions (d-p-q-r functions)
 	with distributions : unif, norm, gamma, chisq, lnorm, weibull, logis,
 	f, pois, binom, t, beta.



More information about the Rcpp-commits mailing list