12#ifndef ROOT_R_TRInternalFunction
13#define ROOT_R_TRInternalFunction
34#if RCPP_VERSION >= Rcpp_Version(1,0,13)
35 template <
typename OUT,
typename... T>
38 set(Rcpp::XPtr< Rcpp::CppFunctionN<OUT, T...> >(
new Rcpp::CppFunctionN<OUT, T...>(fun),
false));
46 inline void set(SEXP xp) {
47 Rcpp::Environment RCPP = Rcpp::Environment::Rcpp_namespace() ;
48 Rcpp::Function intf = RCPP[
"internal_function"] ;
49 Storage::set__(intf(xp)) ;
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
TRInternalFunction_Impl(OUT(*fun)(void))
Rcpp::TRInternalFunction_Impl< Rcpp::PreserveStorage > TRInternalFunction
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
This is a class to support deprecated method to pass function to R's Environment, based in Rcpp::Inte...
RCPP_API_CLASS(TRInternalFunction_Impl)