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

Function lgrow__dispatch

inst/include/Rcpp/lgrow.h:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36// for Named objects
37template <typename T>
38inline SEXP lgrow__dispatch(Rcpp::traits::true_type, const T& head, SEXP tail) {
39 Shield<SEXP> y(wrap(head.object));
40 Shield<SEXP> x(Rf_lcons(y, tail));
41 SEXP headNameSym = Rf_install(head.name.c_str());
42 SET_TAG(x, headNameSym);
43 return x;
44}
45
46// for all other objects
47template <typename T>

Callers 1

lgrowFunction · 0.85

Calls 2

lgrowFunction · 0.85
wrapFunction · 0.50

Tested by

no test coverage detected