| 123 | class CppFunction_WithFormalsN : public CppFunctionN<RESULT_TYPE, T...> { |
| 124 | public: |
| 125 | CppFunction_WithFormalsN(RESULT_TYPE (*fun)(T...), Rcpp::List formals_, const char* docstring = 0) : |
| 126 | CppFunctionN<RESULT_TYPE, T...>(fun, docstring), formals(formals_) {} |
| 127 | |
| 128 | SEXP get_formals() { return formals; } |
| 129 |
nothing calls this directly
no outgoing calls
no test coverage detected