[Rcpp-commits] r1069 - in pkg/Rcpp: R inst/unitTests/RcppTestA/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Apr 18 21:49:06 CEST 2010
Author: romain
Date: 2010-04-18 21:49:06 +0200 (Sun, 18 Apr 2010)
New Revision: 1069
Modified:
pkg/Rcpp/R/Rcpp.package.skeleton.R
pkg/Rcpp/inst/unitTests/RcppTestA/src/rcpp_hello_world.cpp
Log:
oops again
Modified: pkg/Rcpp/R/Rcpp.package.skeleton.R
===================================================================
--- pkg/Rcpp/R/Rcpp.package.skeleton.R 2010-04-18 19:42:35 UTC (rev 1068)
+++ pkg/Rcpp/R/Rcpp.package.skeleton.R 2010-04-18 19:49:06 UTC (rev 1069)
@@ -95,7 +95,7 @@
/* this helps exception forwarding on windows */
#if defined(WIN32)
-extern "C" R_init_%s( DllInfo* info){
+extern "C" void R_init_%s( DllInfo* info){
std::set_terminate( forward_uncaught_exceptions_to_r ) ;
}
#endif
Modified: pkg/Rcpp/inst/unitTests/RcppTestA/src/rcpp_hello_world.cpp
===================================================================
--- pkg/Rcpp/inst/unitTests/RcppTestA/src/rcpp_hello_world.cpp 2010-04-18 19:42:35 UTC (rev 1068)
+++ pkg/Rcpp/inst/unitTests/RcppTestA/src/rcpp_hello_world.cpp 2010-04-18 19:49:06 UTC (rev 1069)
@@ -9,7 +9,7 @@
}
#if defined(WIN32)
-extern "C" R_init_RcppTestA( DllInfo* info){
+extern "C" void R_init_RcppTestA( DllInfo* info){
std::set_terminate( forward_uncaught_exceptions_to_r ) ;
}
#endif
More information about the Rcpp-commits
mailing list