Loading...
Searching...
No Matches
Go to the documentation of this file.
21#ifndef RCPP__R__HEADERS__H
22#define RCPP__R__HEADERS__H
26 #define MAXELTSIZE 8192
33#ifndef RCPP_NO_STRICT_R_HEADERS
34# ifndef STRICT_R_HEADERS
35# define STRICT_R_HEADERS
41# ifndef RCPP_NO_MODULES
42# define RCPP_NO_MODULES
52# define RCPP_HAS_MAJOR_MACRO
53# pragma push_macro("major")
57# define RCPP_HAS_MINOR_MACRO
58# pragma push_macro("minor")
62# define RCPP_HAS_MAKEDEV_MACRO
63# pragma push_macro("makedev")
71#include <Rinternals.h>
72#include <R_ext/Complex.h>
73#include <R_ext/Parse.h>
74#include <R_ext/Rdynload.h>
79# if defined(__GNUC__) && __GNUC__ >= 3
80# define NORET __attribute__((noreturn))
90#ifdef RCPP_HAS_MAJOR_MACRO
91# pragma pop_macro("major")
94#ifdef RCPP_HAS_MINOR_MACRO
95# pragma pop_macro("minor")
98#ifdef RCPP_HAS_MAKEDEV_MACRO
99# pragma pop_macro("makedev")
102#if (!defined(RCPP_NO_UNWIND_PROTECT) && defined(R_VERSION) && R_VERSION >= R_Version(3, 5, 0))
103# define RCPP_USING_UNWIND_PROTECT