[Rcpp-commits] r4104 - pkg/Rcpp/inst/include/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Dec 6 14:03:01 CET 2012


Author: romain
Date: 2012-12-06 14:03:01 +0100 (Thu, 06 Dec 2012)
New Revision: 4104

Modified:
   pkg/Rcpp/inst/include/Rcpp/grow.h
Log:
move grow(SEXP,SEXP) up 

Modified: pkg/Rcpp/inst/include/Rcpp/grow.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/grow.h	2012-12-06 12:58:36 UTC (rev 4103)
+++ pkg/Rcpp/inst/include/Rcpp/grow.h	2012-12-06 13:03:01 UTC (rev 4104)
@@ -28,7 +28,8 @@
 namespace Rcpp {
 
     inline SEXP pairlist() { return R_NilValue ; }
-
+    SEXP grow( SEXP head, SEXP tail ) ; 
+    
     namespace internal{
      
         template <typename T>
@@ -57,8 +58,6 @@
         return internal::grow__dispatch( typename traits::is_named<T>::type(), head, tail );
     }
     
-    SEXP grow( SEXP head, SEXP tail ) ; 
-    
 #ifdef HAS_VARIADIC_TEMPLATES
 
     /* end of the recursion, wrap first to make the CAR and use R_NilValue as the CDR of the list */



More information about the Rcpp-commits mailing list