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
+
1
7
2019-09-28 Dirk Eddelbuettel <
[email protected] >
2
8
3
9
* README.md: Add a stackoverflow tag to indicate where to ask questions,
Original file line number Diff line number Diff line change 63
63
64
64
#include < Rcpp/Na_Proxy.h>
65
65
66
+ #ifndef RCPP_NO_MODULES
66
67
#include < Rcpp/Module.h>
67
68
#include < Rcpp/InternalFunction.h>
69
+ #endif
68
70
69
71
#include < Rcpp/Nullable.h>
70
72
Original file line number Diff line number Diff line change @@ -148,6 +148,8 @@ namespace Rcpp {
148
148
return TYPEOF (x) == REALSXP && Rf_inherits (x, " POSIXt" );
149
149
}
150
150
151
+ #ifndef RCPP_NO_MODULES
152
+
151
153
inline bool is_module_object_internal (SEXP obj, const char * clazz){
152
154
Environment env (obj);
153
155
SEXP sexp = env.get (" .cppclass" );
@@ -161,6 +163,8 @@ namespace Rcpp {
161
163
return is_module_object_internal (x, typeid (CLASS).name ());
162
164
}
163
165
166
+ #endif
167
+
164
168
165
169
} // namespace internal
166
170
} // namespace Rcpp
Original file line number Diff line number Diff line change 42
42
#include < Rcpp/api/meat/protection.h>
43
43
#include < Rcpp/api/meat/wrap.h>
44
44
45
+ #ifndef RCPP_NO_MODULES
45
46
#include < Rcpp/api/meat/module/Module.h>
47
+ #endif
46
48
47
49
#endif
You can’t perform that action at this time.
0 commit comments