| 29 | typedef Rcpp::XPtr<Rcpp::CppFunctionBase> XP_Function; |
| 30 | |
| 31 | RCPP_FUN_1(bool, Class__has_default_constructor, XP_Class cl) { |
| 32 | return cl->has_default_constructor(); |
| 33 | } |
| 34 | RCPP_FUN_2(SEXP, Module__get_function, XP_Module module, std::string fun) { |
| 35 | return module->get_function(fun); |
| 36 | } |
nothing calls this directly
no test coverage detected