| 183 | } // #nocov end |
| 184 | |
| 185 | SEXP 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 | |
| 204 | SEXP CppMethod__invoke_notvoid(SEXP args) { |
| 205 | SEXP p = CDR(args); |
nothing calls this directly
no test coverage detected