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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Apr 18 23:52:04 CEST 2010


Author: romain
Date: 2010-04-18 23:52:04 +0200 (Sun, 18 Apr 2010)
New Revision: 1077

Modified:
   pkg/Rcpp/inst/include/RcppCommon.h
Log:
remove macro (does not work)

Modified: pkg/Rcpp/inst/include/RcppCommon.h
===================================================================
--- pkg/Rcpp/inst/include/RcppCommon.h	2010-04-18 21:36:45 UTC (rev 1076)
+++ pkg/Rcpp/inst/include/RcppCommon.h	2010-04-18 21:52:04 UTC (rev 1077)
@@ -24,14 +24,6 @@
 #ifndef RcppCommon_h
 #define RcppCommon_h
 
-#define RCPP_CLIENT_INIT(DLLNAME)                               \
-#include <RcppCommon.h>                                         \
-#if defined(WIN32)                                              \
-extern "C" void R_init_##DLLNAME( DllInfo* info){               \
-	std::set_terminate( forward_uncaught_exceptions_to_r ) ;    \
-}                                                               \
-#endif                                                          \
-
 void logTxtFunction(const char* file, const int line, const char* expression ) ;
 
 #define ___RCPP_HANDLE_CASE___( ___RTYPE___ , ___FUN___ , ___OBJECT___ , ___RCPPTYPE___ )	\



More information about the Rcpp-commits mailing list