File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed
Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ 2019-09-30 Kevin Ushey <
[email protected] >
2+
3+ * inst/include/Rcpp.h: add RCPP_NO_MODULES
4+ * inst/include/Rcpp/api/meat/is.h: Idem
5+ * inst/include/Rcpp/api/meat/meat.h: Idem
6+
172019-09-28 Dirk Eddelbuettel <
[email protected] >
28
39 * README.md: Add a stackoverflow tag to indicate where to ask questions,
Original file line number Diff line number Diff line change 6363
6464#include < Rcpp/Na_Proxy.h>
6565
66+ #ifndef RCPP_NO_MODULES
6667#include < Rcpp/Module.h>
6768#include < Rcpp/InternalFunction.h>
69+ #endif
6870
6971#include < Rcpp/Nullable.h>
7072
Original file line number Diff line number Diff line change @@ -148,6 +148,8 @@ namespace Rcpp {
148148 return TYPEOF (x) == REALSXP && Rf_inherits (x, " POSIXt" );
149149 }
150150
151+ #ifndef RCPP_NO_MODULES
152+
151153 inline bool is_module_object_internal (SEXP obj, const char * clazz){
152154 Environment env (obj);
153155 SEXP sexp = env.get (" .cppclass" );
@@ -161,6 +163,8 @@ namespace Rcpp {
161163 return is_module_object_internal (x, typeid (CLASS).name ());
162164 }
163165
166+ #endif
167+
164168
165169 } // namespace internal
166170} // namespace Rcpp
Original file line number Diff line number Diff line change 4242#include < Rcpp/api/meat/protection.h>
4343#include < Rcpp/api/meat/wrap.h>
4444
45+ #ifndef RCPP_NO_MODULES
4546#include < Rcpp/api/meat/module/Module.h>
47+ #endif
4648
4749#endif
You can’t perform that action at this time.
0 commit comments