Rcpp Version 0.12.12
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

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

Definition at line 28 of file Rcpp_init.cpp.

#define COMPILING_RCPP

Definition at line 22 of file Rcpp_init.cpp.

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

Definition at line 29 of file Rcpp_init.cpp.

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

Referenced by registerFunctions().

Function Documentation

void init_Rcpp_routines ( DllInfo *  info)

Definition at line 76 of file Rcpp_init.cpp.

References callEntries, and extEntries.

Referenced by R_init_Rcpp().

void R_init_Rcpp ( DllInfo *  dllinfo)

Definition at line 128 of file Rcpp_init.cpp.

References init_Rcpp_cache(), init_Rcpp_routines(), registerFunctions(), and setCurrentScope().

Here is the call graph for this function:

void R_unload_Rcpp ( DllInfo *  )

Definition at line 124 of file Rcpp_init.cpp.

Variable Documentation

R_CallMethodDef callEntries[]
static
R_ExternalMethodDef extEntries[]
static
Initial value:
= {
{NULL, NULL, 0}
}
SEXP class__newInstance(SEXP args)
Definition: Module.cpp:137
SEXP CppMethod__invoke_void(SEXP args)
Definition: Module.cpp:185
SEXP class__dummyInstance(SEXP args)
Definition: Module.cpp:152
SEXP CppMethod__invoke(SEXP args)
Definition: Module.cpp:166
SEXP CppMethod__invoke_notvoid(SEXP args)
Definition: Module.cpp:204
SEXP InternalFunction_invoke(SEXP args)
Definition: Module.cpp:117
SEXP Module__invoke(SEXP args)
Definition: Module.cpp:126
#define EXTDEF(name)
Definition: Rcpp_init.cpp:29

Definition at line 63 of file Rcpp_init.cpp.

Referenced by init_Rcpp_routines().