[Rcpp-commits] r2121 - pkg/Rcpp/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Sep 16 20:39:38 CEST 2010


Author: romain
Date: 2010-09-16 20:39:37 +0200 (Thu, 16 Sep 2010)
New Revision: 2121

Modified:
   pkg/Rcpp/R/00_classes.R
Log:
C++Field returns NULL invisibly

Modified: pkg/Rcpp/R/00_classes.R
===================================================================
--- pkg/Rcpp/R/00_classes.R	2010-09-16 18:37:11 UTC (rev 2120)
+++ pkg/Rcpp/R/00_classes.R	2010-09-16 18:39:37 UTC (rev 2121)
@@ -33,6 +33,7 @@
         }, 
         set = function(obj_xp, value){
             .Call( "CppField__set", class_pointer, pointer, obj_xp, value, PACKAGE = "Rcpp" )
+            invisible( NULL )
         }
     )
 )



More information about the Rcpp-commits mailing list