[Rcpp-devel] [Rcpp-commits] r351 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jan 12 10:33:11 CET 2010


Author: romain
Date: 2010-01-12 10:33:10 +0100 (Tue, 12 Jan 2010)
New Revision: 351

Modified:
   pkg/src/RcppCommon.h
Log:
s/GET_NAMES/RCPP_GET_NAMES to avoid macro collision

Modified: pkg/src/RcppCommon.h
===================================================================
--- pkg/src/RcppCommon.h	2010-01-12 03:56:46 UTC (rev 350)
+++ pkg/src/RcppCommon.h	2010-01-12 09:33:10 UTC (rev 351)
@@ -50,7 +50,7 @@
 #include <R_ext/Callbacks.h>
 #include <R_ext/Complex.h>
 #include <Rversion.h>
-#define GET_NAMES(x)	Rf_getAttrib(x, R_NamesSymbol)
+#define RCPP_GET_NAMES(x)	Rf_getAttrib(x, R_NamesSymbol)
 
 // #ifdef BUILDING_DLL
 // #define RcppExport extern "C" __declspec(dllexport)

_______________________________________________
Rcpp-commits mailing list
Rcpp-commits at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-commits


More information about the Rcpp-devel mailing list