MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / Add

Method Add

inst/include/Rcpp/module/Module.h:192–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190 }
191
192 inline void Add( const char* name_ , CppFunction* ptr){
193 R_RegisterCCallable( prefix.c_str(), name_, ptr->get_function_ptr() ) ;
194 functions.insert( FUNCTION_PAIR( name_ , ptr ) ) ;
195 }
196
197 inline void AddClass(const char* name_ , class_Base* cptr){
198 classes.insert( CLASS_PAIR( name_ , cptr ) ) ;

Callers 1

functionFunction · 0.80

Calls 2

get_function_ptrMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected