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

Function make_new_object

inst/include/Rcpp/Module.h:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 namespace internal {
76 template <typename Class>
77 SEXP make_new_object( Class* ptr ){
78 Rcpp::XPtr<Class> xp( ptr, true ) ;
79 Function maker = Environment::Rcpp_namespace()[ "cpp_object_maker"] ;
80 return maker( typeid(Class).name() , xp ) ;
81 }
82 }
83
84}

Callers

nothing calls this directly

Calls 1

Rcpp_namespaceFunction · 0.85

Tested by

no test coverage detected