Go to the documentation of this file.
21 #ifndef RCPP__R__HEADERS__H
22 #define RCPP__R__HEADERS__H
25 #define MAXELTSIZE 8192
29 #ifndef RCPP_NO_STRICT_R_HEADERS
30 # ifndef STRICT_R_HEADERS
31 # define STRICT_R_HEADERS
37 # ifndef RCPP_NO_MODULES
38 # define RCPP_NO_MODULES
48 # define RCPP_HAS_MAJOR_MACRO
49 # pragma push_macro("major")
53 # define RCPP_HAS_MINOR_MACRO
54 # pragma push_macro("minor")
58 # define RCPP_HAS_MAKEDEV_MACRO
59 # pragma push_macro("makedev")
67 #include <Rinternals.h>
68 #include <R_ext/Complex.h>
69 #include <R_ext/Parse.h>
70 #include <R_ext/Rdynload.h>
75 # if defined(__GNUC__) && __GNUC__ >= 3
76 # define NORET __attribute__((noreturn))
86 #ifdef RCPP_HAS_MAJOR_MACRO
87 # pragma pop_macro("major")
90 #ifdef RCPP_HAS_MINOR_MACRO
91 # pragma pop_macro("minor")
94 #ifdef RCPP_HAS_MAKEDEV_MACRO
95 # pragma pop_macro("makedev")
98 #if (defined(RCPP_USE_UNWIND_PROTECT) && defined(R_VERSION) && R_VERSION >= R_Version(3, 5, 0))
99 # define RCPP_USING_UNWIND_PROTECT