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

Function as_module_object_internal

inst/include/Rcpp/api/meat/as.h:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace internal{
23
24 inline void* as_module_object_internal(SEXP obj){
25 Environment env(obj) ;
26 SEXP xp = env.get(".pointer") ;
27 return R_ExternalPtrAddr(xp );
28 }
29
30}
31}

Callers 2

as_module_objectFunction · 0.85
asFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected