[Rcpp-commits] r1121 - pkg/Rcpp/inst/include/Rcpp scripts

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 26 09:59:45 CEST 2010


Author: romain
Date: 2010-04-26 09:59:45 +0200 (Mon, 26 Apr 2010)
New Revision: 1121

Modified:
   pkg/Rcpp/inst/include/Rcpp/preprocessor_generated.h
   scripts/preprocessor.R
Log:
remove the RCPP_XP_MACRO macros

Modified: pkg/Rcpp/inst/include/Rcpp/preprocessor_generated.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/preprocessor_generated.h	2010-04-26 07:13:17 UTC (rev 1120)
+++ pkg/Rcpp/inst/include/Rcpp/preprocessor_generated.h	2010-04-26 07:59:45 UTC (rev 1121)
@@ -2813,1534 +2813,5 @@
 
 
 // }}}
-
-// {{{ RCPP_XP_MACRO
-
-
-#define RCPP_XP_MACRO_0(__NAME__,__CLASS__,__MACRO__)    \
-extern "C" SEXP __NAME__( SEXP xp  ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr  ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_1(__NAME__,__CLASS__,__MACRO__, ___0)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_2(__NAME__,__CLASS__,__MACRO__, ___0, ___1)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_3(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_4(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_5(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_6(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_7(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_8(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_9(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_10(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_11(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_12(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_13(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_14(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_15(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_16(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_17(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_18(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_19(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ), ::Rcpp::internal::converter( x18 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_20(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18, ___19)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ), ::Rcpp::internal::converter( x18 ), ::Rcpp::internal::converter( x19 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_21(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18, ___19, ___20)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19, SEXP x20 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ), ::Rcpp::internal::converter( x18 ), ::Rcpp::internal::converter( x19 ), ::Rcpp::internal::converter( x20 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_22(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18, ___19, ___20, ___21)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19, SEXP x20, SEXP x21 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ), ::Rcpp::internal::converter( x18 ), ::Rcpp::internal::converter( x19 ), ::Rcpp::internal::converter( x20 ), ::Rcpp::internal::converter( x21 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_23(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18, ___19, ___20, ___21, ___22)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19, SEXP x20, SEXP x21, SEXP x22 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ), ::Rcpp::internal::converter( x18 ), ::Rcpp::internal::converter( x19 ), ::Rcpp::internal::converter( x20 ), ::Rcpp::internal::converter( x21 ), ::Rcpp::internal::converter( x22 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_24(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18, ___19, ___20, ___21, ___22, ___23)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19, SEXP x20, SEXP x21, SEXP x22, SEXP x23 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ), ::Rcpp::internal::converter( x18 ), ::Rcpp::internal::converter( x19 ), ::Rcpp::internal::converter( x20 ), ::Rcpp::internal::converter( x21 ), ::Rcpp::internal::converter( x22 ), ::Rcpp::internal::converter( x23 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_25(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18, ___19, ___20, ___21, ___22, ___23, ___24)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19, SEXP x20, SEXP x21, SEXP x22, SEXP x23, SEXP x24 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ), ::Rcpp::internal::converter( x18 ), ::Rcpp::internal::converter( x19 ), ::Rcpp::internal::converter( x20 ), ::Rcpp::internal::converter( x21 ), ::Rcpp::internal::converter( x22 ), ::Rcpp::internal::converter( x23 ), ::Rcpp::internal::converter( x24 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_26(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18, ___19, ___20, ___21, ___22, ___23, ___24, ___25)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19, SEXP x20, SEXP x21, SEXP x22, SEXP x23, SEXP x24, SEXP x25 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
-		res = ::Rcpp::wrap( __MACRO__( ptr ,  ::Rcpp::internal::converter( x0 ), ::Rcpp::internal::converter( x1 ), ::Rcpp::internal::converter( x2 ), ::Rcpp::internal::converter( x3 ), ::Rcpp::internal::converter( x4 ), ::Rcpp::internal::converter( x5 ), ::Rcpp::internal::converter( x6 ), ::Rcpp::internal::converter( x7 ), ::Rcpp::internal::converter( x8 ), ::Rcpp::internal::converter( x9 ), ::Rcpp::internal::converter( x10 ), ::Rcpp::internal::converter( x11 ), ::Rcpp::internal::converter( x12 ), ::Rcpp::internal::converter( x13 ), ::Rcpp::internal::converter( x14 ), ::Rcpp::internal::converter( x15 ), ::Rcpp::internal::converter( x16 ), ::Rcpp::internal::converter( x17 ), ::Rcpp::internal::converter( x18 ), ::Rcpp::internal::converter( x19 ), ::Rcpp::internal::converter( x20 ), ::Rcpp::internal::converter( x21 ), ::Rcpp::internal::converter( x22 ), ::Rcpp::internal::converter( x23 ), ::Rcpp::internal::converter( x24 ), ::Rcpp::internal::converter( x25 ) ) ) ;         \
-END_RCPP                                                    \
-	return res ;                                            \
-}
-
-
-#define RCPP_XP_MACRO_27(__NAME__,__CLASS__,__MACRO__, ___0, ___1, ___2, ___3, ___4, ___5, ___6, ___7, ___8, ___9, ___10, ___11, ___12, ___13, ___14, ___15, ___16, ___17, ___18, ___19, ___20, ___21, ___22, ___23, ___24, ___25, ___26)    \
-extern "C" SEXP __NAME__( SEXP xp ,  SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5, SEXP x6, SEXP x7, SEXP x8, SEXP x9, SEXP x10, SEXP x11, SEXP x12, SEXP x13, SEXP x14, SEXP x15, SEXP x16, SEXP x17, SEXP x18, SEXP x19, SEXP x20, SEXP x21, SEXP x22, SEXP x23, SEXP x24, SEXP x25, SEXP x26 ){                     \
-	SEXP res = R_NilValue ;                                 \
-BEGIN_RCPP                                                  \
-		::Rcpp::XPtr<__CLASS__> ptr(xp) ;                   \
[TRUNCATED]

To get the complete diff run:
    svnlook diff /svnroot/rcpp -r 1121


More information about the Rcpp-commits mailing list