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

Function CppMethod__invoke_void

src/module.cpp:185–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183} // #nocov end
184
185SEXP CppMethod__invoke_void(SEXP args) {
186 SEXP p = CDR(args);
187
188 // the external pointer to the class
189 XP_Class clazz(CAR(p)); p = CDR(p);
190
191 // the external pointer to the method
192 SEXP met = CAR(p); p = CDR(p);
193
194 // the external pointer to the object
195 SEXP obj = CAR(p); p = CDR(p);
196 CHECK_DUMMY_OBJ(obj);
197
198 // additional arguments, processed the same way as .Call does
199 UNPACK_EXTERNAL_ARGS(cargs,p)
200 clazz->invoke_void(met, obj, cargs, nargs);
201 return R_NilValue;
202}
203
204SEXP CppMethod__invoke_notvoid(SEXP args) {
205 SEXP p = CDR(args);

Callers

nothing calls this directly

Calls 1

invoke_voidMethod · 0.45

Tested by

no test coverage detected