[Rcpp-commits] r2841 - pkg/Rcpp/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Jan 6 22:06:34 CET 2011
Author: dmbates
Date: 2011-01-06 22:06:34 +0100 (Thu, 06 Jan 2011)
New Revision: 2841
Modified:
pkg/Rcpp/src/Rcpp_init.c
Log:
Don't register init_Rcpp_cache. It should only be called once and it is called in the C function R_init_Rcpp.
Modified: pkg/Rcpp/src/Rcpp_init.c
===================================================================
--- pkg/Rcpp/src/Rcpp_init.c 2011-01-06 21:05:07 UTC (rev 2840)
+++ pkg/Rcpp/src/Rcpp_init.c 2011-01-06 21:06:34 UTC (rev 2841)
@@ -57,7 +57,7 @@
CALLDEF(Module__get_function, 2),
CALLDEF(get_rcpp_cache,0),
- CALLDEF(init_Rcpp_cache,0),
+// CALLDEF(init_Rcpp_cache,0),
CALLDEF(reset_current_error,0),
CALLDEF(rcpp_error_recorder,1),
CALLDEF(rcpp_set_current_error,1),
@@ -92,7 +92,7 @@
extEntries /*.External*/
);
}
-
+
void R_unload_Rcpp(DllInfo *info) {
/* Release resources. */
}
More information about the Rcpp-commits
mailing list