[Rcpp-commits] r1296 - pkg/Rcpp/inst/include/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu May 20 16:51:14 CEST 2010


Author: edd
Date: 2010-05-20 16:51:13 +0200 (Thu, 20 May 2010)
New Revision: 1296

Modified:
   pkg/Rcpp/inst/include/Rcpp/preprocessor.h
Log:
return R_NilValue in RCPP_END


Modified: pkg/Rcpp/inst/include/Rcpp/preprocessor.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/preprocessor.h	2010-05-20 13:50:32 UTC (rev 1295)
+++ pkg/Rcpp/inst/include/Rcpp/preprocessor.h	2010-05-20 14:51:13 UTC (rev 1296)
@@ -52,7 +52,7 @@
 #endif 
 
 #ifndef END_RCPP
-#define END_RCPP } catch( std::exception& __ex__ ){ forward_exception_to_r( __ex__ ) ; } catch(...){ ::Rf_error( "c++ exception (unknown reason)" ) ; }
+#define END_RCPP } catch( std::exception& __ex__ ){ forward_exception_to_r( __ex__ ) ; } catch(...){ ::Rf_error( "c++ exception (unknown reason)" ) ; } return R_NilValue;
 #endif
 
 #include <Rcpp/preprocessor_generated.h>



More information about the Rcpp-commits mailing list