[Rcpp-commits] r1095 - in pkg: Rcpp/man RcppArmadillo/src RcppGSL/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Apr 21 11:43:52 CEST 2010


Author: romain
Date: 2010-04-21 11:43:52 +0200 (Wed, 21 Apr 2010)
New Revision: 1095

Modified:
   pkg/Rcpp/man/cppfunction.Rd
   pkg/RcppArmadillo/src/RcppArmadillo.cpp
   pkg/RcppGSL/src/RcppGSL.cpp
Log:
codoc and remove uses of set_terminate

Modified: pkg/Rcpp/man/cppfunction.Rd
===================================================================
--- pkg/Rcpp/man/cppfunction.Rd	2010-04-21 09:38:14 UTC (rev 1094)
+++ pkg/Rcpp/man/cppfunction.Rd	2010-04-21 09:43:52 UTC (rev 1095)
@@ -10,7 +10,8 @@
 \usage{
 cppfunction(sig = character(), body = character(), includes = character(), 
 	otherdefs = character(), verbose = FALSE, cppargs = character(), 
-	cxxargs = character(), libargs = character(), namespace = TRUE)
+	cxxargs = character(), libargs = character(), namespace = TRUE,
+	forward.exceptions = TRUE)
 }
 \arguments{
 \item{sig}{Signature. See \link[inline]{cfunction}}

Modified: pkg/RcppArmadillo/src/RcppArmadillo.cpp
===================================================================
--- pkg/RcppArmadillo/src/RcppArmadillo.cpp	2010-04-21 09:38:14 UTC (rev 1094)
+++ pkg/RcppArmadillo/src/RcppArmadillo.cpp	2010-04-21 09:43:52 UTC (rev 1095)
@@ -159,10 +159,3 @@
     return version ;
 }
 
-#if defined(WIN32)
-#include <R_ext/Rdynload.h>
-void R_init_RcppArmadillo(DllInfo* info){
-	std::set_terminate( forward_uncaught_exceptions_to_r ) ;
-}
-#endif
-

Modified: pkg/RcppGSL/src/RcppGSL.cpp
===================================================================
--- pkg/RcppGSL/src/RcppGSL.cpp	2010-04-21 09:38:14 UTC (rev 1094)
+++ pkg/RcppGSL/src/RcppGSL.cpp	2010-04-21 09:43:52 UTC (rev 1095)
@@ -145,10 +145,3 @@
 	return res ;
 }
 
-#if defined(WIN32)
-#include <R_ext/Rdynload.h>
-void R_init_RcppGSL(DllInfo* info){
-	std::set_terminate( forward_uncaught_exceptions_to_r ) ;
-}
-#endif
-



More information about the Rcpp-commits mailing list