[Rcpp-commits] r352 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jan 12 10:33:33 CET 2010
Author: romain
Date: 2010-01-12 10:33:33 +0100 (Tue, 12 Jan 2010)
New Revision: 352
Modified:
pkg/src/Language.cpp
Log:
s/GET_NAMES/RCPP_GET_NAMES to avoid macro collision
Modified: pkg/src/Language.cpp
===================================================================
--- pkg/src/Language.cpp 2010-01-12 09:33:10 UTC (rev 351)
+++ pkg/src/Language.cpp 2010-01-12 09:33:33 UTC (rev 352)
@@ -39,7 +39,7 @@
{
int n = Rf_length(lang) ;
if( n == 0 ) throw not_compatible("cannot convert to call (LANGSXP)") ;
- SEXP names = GET_NAMES(lang) ;
+ SEXP names = RCPP_GET_NAMES(lang) ;
SEXP res, ap;
PROTECT( ap = res = Rf_allocList( n ) ) ;
for( int i=0; i<n; i++){
More information about the Rcpp-commits
mailing list