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

Function CppMethod__invoke_notvoid

src/module.cpp:204–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204SEXP CppMethod__invoke_notvoid(SEXP args) {
205 SEXP p = CDR(args);
206
207 // the external pointer to the class
208 XP_Class clazz(CAR(p)); p = CDR(p);
209
210 // the external pointer to the method
211 SEXP met = CAR(p); p = CDR(p);
212
213 // the external pointer to the object
214 SEXP obj = CAR(p); p = CDR(p);
215 CHECK_DUMMY_OBJ(obj);
216
217 // additional arguments, processed the same way as .Call does
218 UNPACK_EXTERNAL_ARGS(cargs,p)
219
220 return clazz->invoke_notvoid(met, obj, cargs, nargs);
221}
222
223namespace Rcpp{
224 static Module* current_scope ;

Callers

nothing calls this directly

Calls 1

invoke_notvoidMethod · 0.45

Tested by

no test coverage detected