Rcpp Version 1.0.7
rcpp_init.cpp File Reference
#include <Rcpp.h>
#include "internal.h"
Include dependency graph for rcpp_init.cpp:

Go to the source code of this file.

Macros

#define COMPILING_RCPP
 
#define CALLDEF(name, n)   {#name, (DL_FUNC) &name, n}
 
#define EXTDEF(name)   {#name, (DL_FUNC) &name, -1}
 
#define RCPP_REGISTER(__FUN__)   R_RegisterCCallable( "Rcpp", #__FUN__ , (DL_FUNC)__FUN__ );
 

Functions

void init_Rcpp_routines (DllInfo *info)
 
void registerFunctions ()
 
void R_unload_Rcpp (DllInfo *)
 
void R_init_Rcpp (DllInfo *dllinfo)
 

Variables

static R_CallMethodDef callEntries []
 
static R_ExternalMethodDef extEntries []
 

Macro Definition Documentation

◆ CALLDEF

#define CALLDEF (   name,
 
)    {#name, (DL_FUNC) &name, n}

Definition at line 29 of file rcpp_init.cpp.

◆ COMPILING_RCPP

#define COMPILING_RCPP

Definition at line 23 of file rcpp_init.cpp.

◆ EXTDEF

#define EXTDEF (   name)    {#name, (DL_FUNC) &name, -1}

Definition at line 30 of file rcpp_init.cpp.

◆ RCPP_REGISTER

#define RCPP_REGISTER (   __FUN__)    R_RegisterCCallable( "Rcpp", #__FUN__ , (DL_FUNC)__FUN__ );

Function Documentation

◆ 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().

◆ R_init_Rcpp()

void R_init_Rcpp ( DllInfo *  dllinfo)

Definition at line 137 of file rcpp_init.cpp.

References init_Rcpp_cache(), init_Rcpp_routines(), Rcpp::Rcpp_precious_init(), registerFunctions(), and setCurrentScope().

Here is the call graph for this function:

◆ R_unload_Rcpp()

void R_unload_Rcpp ( DllInfo *  )

Definition at line 133 of file rcpp_init.cpp.

References Rcpp::Rcpp_precious_teardown().

Here is the call graph for this function:

◆ registerFunctions()

Variable Documentation

◆ callEntries

R_CallMethodDef callEntries[]
static

Definition at line 31 of file rcpp_init.cpp.

Referenced by init_Rcpp_routines().

◆ extEntries

R_ExternalMethodDef extEntries[]
static
CppMethod__invoke_void
SEXP CppMethod__invoke_void(SEXP args)
Definition: module.cpp:185
CppMethod__invoke_notvoid
SEXP CppMethod__invoke_notvoid(SEXP args)
Definition: module.cpp:204
class__newInstance
SEXP class__newInstance(SEXP args)
Definition: module.cpp:137
InternalFunction_invoke
SEXP InternalFunction_invoke(SEXP args)
Definition: module.cpp:117
class__dummyInstance
SEXP class__dummyInstance(SEXP args)
Definition: module.cpp:152
CppMethod__invoke
SEXP CppMethod__invoke(SEXP args)
Definition: module.cpp:166
EXTDEF
#define EXTDEF(name)
Definition: rcpp_init.cpp:29
Module__invoke
SEXP Module__invoke(SEXP args)
Definition: module.cpp:126