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

Function class__newInstance

src/module.cpp:137–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135} // #nocov end
136
137SEXP class__newInstance(SEXP args) {
138 SEXP p = CDR(args);
139
140 XP_Module module(CAR(p)); p = CDR(p);
141 XP_Class clazz(CAR(p)); p = CDR(p);
142 UNPACK_EXTERNAL_ARGS(cargs,p)
143 return clazz->newInstance(cargs, nargs);
144}
145
146// relies on being set in .onLoad()
147SEXP rcpp_dummy_pointer = R_NilValue;

Callers

nothing calls this directly

Calls 1

newInstanceMethod · 0.45

Tested by

no test coverage detected