[Rcpp-commits] r2106 - pkg/Rcpp/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Sep 14 12:32:08 CEST 2010
Author: romain
Date: 2010-09-14 12:32:07 +0200 (Tue, 14 Sep 2010)
New Revision: 2106
Modified:
pkg/Rcpp/R/Module.R
Log:
need to return res (for now)
Modified: pkg/Rcpp/R/Module.R
===================================================================
--- pkg/Rcpp/R/Module.R 2010-09-14 10:11:49 UTC (rev 2105)
+++ pkg/Rcpp/R/Module.R 2010-09-14 10:32:07 UTC (rev 2106)
@@ -351,7 +351,9 @@
# skeleton
f <- function( ){
res <- .External( "Class__invoke_method", xp , m, .self at pointer, PACKAGE = "Rcpp" )
- res
+ # TODO: update Class__invoke_method so that it does not create a list
+ # list( void, result ) since we already know that information
+ res$result
}
if( ar <- arity[[ m ]] ){
More information about the Rcpp-commits
mailing list