Rcpp Version 1.1.2
Loading...
Searching...
No Matches
internal.h File Reference
#include <R_ext/Rdynload.h>
Include dependency graph for internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CALLFUN_0(name)
#define CALLFUN_1(name)
#define CALLFUN_2(name)
#define CALLFUN_3(name)
#define CALLFUN_4(name)
#define CALLFUN_5(name)
#define EXTFUN(name)
#define MAX_ARGS   65
#define UNPACK_EXTERNAL_ARGS(__CARGS__, __P__)
#define RCPP_FUN_1(__OUT__, __NAME__, ___0)
#define RCPP_FUN_2(__OUT__, __NAME__, ___0, ___1)
#define RCPP_FUN_3(__OUT__, __NAME__, ___0, ___1, ___2)
#define RCPP_FUN_4(__OUT__, __NAME__, ___0, ___1, ___2, ___3)

Functions

SEXP get_Rcpp_protection_stack ()
 CALLFUN_1 (as_character_externalptr)
 CALLFUN_1 (Class__name)
 CALLFUN_1 (Class__has_default_constructor)
 CALLFUN_1 (CppClass__complete)
 CALLFUN_1 (CppClass__methods)
 CALLFUN_1 (Module__classes_info)
 CALLFUN_1 (Module__complete)
 CALLFUN_1 (Module__functions_arity)
 CALLFUN_1 (Module__functions_names)
 CALLFUN_2 (Module__get_class)
 CALLFUN_2 (Module__has_class)
 CALLFUN_2 (Module__has_function)
 CALLFUN_2 (Module__get_function)
 CALLFUN_1 (Module__name)
 CALLFUN_2 (CppObject__finalize)
 CALLFUN_0 (get_rcpp_cache)
 CALLFUN_0 (init_Rcpp_cache)
 CALLFUN_1 (rcpp_error_recorder)
 CALLFUN_3 (CppField__get)
 CALLFUN_4 (CppField__set)
 CALLFUN_0 (rcpp_capabilities)
 CALLFUN_0 (rcpp_can_use_cxx0x)
 CALLFUN_0 (rcpp_can_use_cxx11)
 CALLFUN_0 (getRcppVersionStrings)
 EXTFUN (CppMethod__invoke)
 EXTFUN (CppMethod__invoke_void)
 EXTFUN (CppMethod__invoke_notvoid)
 EXTFUN (InternalFunction_invoke)
 EXTFUN (Module__invoke)
 EXTFUN (class__newInstance)
 EXTFUN (class__dummyInstance)
void init_Rcpp_routines (DllInfo *)

Macro Definition Documentation

◆ CALLFUN_0

#define CALLFUN_0 ( name)
Value:
SEXP name()

Definition at line 27 of file internal.h.

◆ CALLFUN_1

#define CALLFUN_1 ( name)
Value:
SEXP name(SEXP)

Definition at line 28 of file internal.h.

◆ CALLFUN_2

#define CALLFUN_2 ( name)
Value:
SEXP name(SEXP,SEXP)

Definition at line 29 of file internal.h.

◆ CALLFUN_3

#define CALLFUN_3 ( name)
Value:
SEXP name(SEXP,SEXP,SEXP)

Definition at line 30 of file internal.h.

◆ CALLFUN_4

#define CALLFUN_4 ( name)
Value:
SEXP name(SEXP,SEXP,SEXP,SEXP)

Definition at line 31 of file internal.h.

◆ CALLFUN_5

#define CALLFUN_5 ( name)
Value:
SEXP name(SEXP,SEXP,SEXP,SEXP,SEXP)

Definition at line 32 of file internal.h.

◆ EXTFUN

#define EXTFUN ( name)
Value:
SEXP name(SEXP)

Definition at line 33 of file internal.h.

◆ MAX_ARGS

#define MAX_ARGS   65

Definition at line 38 of file internal.h.

◆ RCPP_FUN_1

#define RCPP_FUN_1 ( __OUT__,
__NAME__,
___0 )
Value:
__OUT__ RCPP_DECORATE(__NAME__)(___0); \
SEXP __NAME__(SEXP x0) { \
SEXP res = R_NilValue; \
BEGIN_RCPP \
res = ::Rcpp::wrap(RCPP_DECORATE(__NAME__)(::Rcpp::internal::converter(x0))); \
return res; \
} \
__OUT__ RCPP_DECORATE(__NAME__)(___0)
#define END_RCPP
Definition macros.h:99
#define RCPP_DECORATE(__FUN__)
Definition macros.h:44
SEXP wrap(const Date &date)
Definition Date.h:38

Definition at line 48 of file internal.h.

◆ RCPP_FUN_2

#define RCPP_FUN_2 ( __OUT__,
__NAME__,
___0,
___1 )
Value:
__OUT__ RCPP_DECORATE(__NAME__)(___0, ___1); \
SEXP __NAME__(SEXP x0, SEXP x1) { \
SEXP res = R_NilValue; \
BEGIN_RCPP \
res = ::Rcpp::wrap(RCPP_DECORATE(__NAME__)(::Rcpp::internal::converter(x0), \
::Rcpp::internal::converter(x1))); \
return res; \
} \
__OUT__ RCPP_DECORATE(__NAME__)(___0, ___1)

Definition at line 60 of file internal.h.

◆ RCPP_FUN_3

#define RCPP_FUN_3 ( __OUT__,
__NAME__,
___0,
___1,
___2 )
Value:
__OUT__ RCPP_DECORATE(__NAME__)(___0, ___1, ___2); \
SEXP __NAME__(SEXP x0, SEXP x1, SEXP x2) { \
SEXP res = R_NilValue; \
BEGIN_RCPP \
res = ::Rcpp::wrap(RCPP_DECORATE(__NAME__)(::Rcpp::internal::converter(x0), \
::Rcpp::internal::converter(x1), \
::Rcpp::internal::converter(x2))); \
return res; \
} \
__OUT__ RCPP_DECORATE(__NAME__)(___0, ___1, ___2)

Definition at line 72 of file internal.h.

◆ RCPP_FUN_4

#define RCPP_FUN_4 ( __OUT__,
__NAME__,
___0,
___1,
___2,
___3 )
Value:
__OUT__ RCPP_DECORATE(__NAME__)(___0, ___1, ___2, ___3); \
SEXP __NAME__(SEXP x0, SEXP x1, SEXP x2, SEXP x3) { \
SEXP res = R_NilValue; \
BEGIN_RCPP \
res = ::Rcpp::wrap( RCPP_DECORATE(__NAME__)(::Rcpp::internal::converter(x0), \
::Rcpp::internal::converter(x1), \
::Rcpp::internal::converter(x2), \
::Rcpp::internal::converter(x3))); \
return res; \
} \
__OUT__ RCPP_DECORATE(__NAME__)(___0, ___1, ___2, ___3)

Definition at line 85 of file internal.h.

◆ UNPACK_EXTERNAL_ARGS

#define UNPACK_EXTERNAL_ARGS ( __CARGS__,
__P__ )
Value:
SEXP __CARGS__[MAX_ARGS]; \
int nargs = 0; \
for (; nargs<MAX_ARGS; nargs++) { \
if (Rf_isNull(__P__)) break; \
__CARGS__[nargs] = CAR(__P__); \
__P__ = CDR(__P__); \
}
#define MAX_ARGS
Definition internal.h:38

Definition at line 39 of file internal.h.

Referenced by class__newInstance(), CppMethod__invoke(), CppMethod__invoke_notvoid(), CppMethod__invoke_void(), InternalFunction_invoke(), and Module__invoke().

Function Documentation

◆ CALLFUN_0() [1/6]

CALLFUN_0 ( get_rcpp_cache )

References get_rcpp_cache().

Here is the call graph for this function:

◆ CALLFUN_0() [2/6]

CALLFUN_0 ( getRcppVersionStrings )

References getRcppVersionStrings().

Here is the call graph for this function:

◆ CALLFUN_0() [3/6]

CALLFUN_0 ( init_Rcpp_cache )

References init_Rcpp_cache().

Here is the call graph for this function:

◆ CALLFUN_0() [4/6]

CALLFUN_0 ( rcpp_can_use_cxx0x )

References rcpp_can_use_cxx0x().

Here is the call graph for this function:

◆ CALLFUN_0() [5/6]

CALLFUN_0 ( rcpp_can_use_cxx11 )

References rcpp_can_use_cxx11().

Here is the call graph for this function:

◆ CALLFUN_0() [6/6]

CALLFUN_0 ( rcpp_capabilities )

References rcpp_capabilities().

Here is the call graph for this function:

◆ CALLFUN_1() [1/11]

CALLFUN_1 ( as_character_externalptr )

References as_character_externalptr().

Here is the call graph for this function:

◆ CALLFUN_1() [2/11]

CALLFUN_1 ( Class__has_default_constructor )

◆ CALLFUN_1() [3/11]

CALLFUN_1 ( Class__name )

◆ CALLFUN_1() [4/11]

CALLFUN_1 ( CppClass__complete )

◆ CALLFUN_1() [5/11]

CALLFUN_1 ( CppClass__methods )

◆ CALLFUN_1() [6/11]

CALLFUN_1 ( Module__classes_info )

◆ CALLFUN_1() [7/11]

CALLFUN_1 ( Module__complete )

◆ CALLFUN_1() [8/11]

CALLFUN_1 ( Module__functions_arity )

◆ CALLFUN_1() [9/11]

CALLFUN_1 ( Module__functions_names )

◆ CALLFUN_1() [10/11]

CALLFUN_1 ( Module__name )

◆ CALLFUN_1() [11/11]

CALLFUN_1 ( rcpp_error_recorder )

References rcpp_error_recorder().

Here is the call graph for this function:

◆ CALLFUN_2() [1/5]

CALLFUN_2 ( CppObject__finalize )

◆ CALLFUN_2() [2/5]

CALLFUN_2 ( Module__get_class )

◆ CALLFUN_2() [3/5]

CALLFUN_2 ( Module__get_function )

◆ CALLFUN_2() [4/5]

CALLFUN_2 ( Module__has_class )

◆ CALLFUN_2() [5/5]

CALLFUN_2 ( Module__has_function )

◆ CALLFUN_3()

CALLFUN_3 ( CppField__get )

◆ CALLFUN_4()

CALLFUN_4 ( CppField__set )

◆ EXTFUN() [1/7]

References class__dummyInstance().

Here is the call graph for this function:

◆ EXTFUN() [2/7]

EXTFUN ( class__newInstance )

References class__newInstance().

Here is the call graph for this function:

◆ EXTFUN() [3/7]

EXTFUN ( CppMethod__invoke )

References CppMethod__invoke().

Here is the call graph for this function:

◆ EXTFUN() [4/7]

References CppMethod__invoke_notvoid().

Here is the call graph for this function:

◆ EXTFUN() [5/7]

References CppMethod__invoke_void().

Here is the call graph for this function:

◆ EXTFUN() [6/7]

References InternalFunction_invoke().

Here is the call graph for this function:

◆ EXTFUN() [7/7]

EXTFUN ( Module__invoke )

References Module__invoke().

Here is the call graph for this function:

◆ get_Rcpp_protection_stack()

SEXP get_Rcpp_protection_stack ( )

◆ init_Rcpp_routines()

void init_Rcpp_routines ( DllInfo * info)

Definition at line 78 of file rcpp_init.cpp.

References callEntries, and extEntries.

Referenced by R_init_Rcpp().