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

Function module_wrap_dispatch

inst/include/Rcpp/internal/wrap_end.h:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33 template <typename T>
34 inline SEXP module_wrap_dispatch( const T& obj, Rcpp::traits::normal_wrap_tag ){
35 return wrap( obj ) ;
36 }
37 template <typename T>
38 inline SEXP module_wrap_dispatch( const T& obj, Rcpp::traits::pointer_wrap_tag ) {
39 return wrap( object< typename traits::un_pointer<T>::type >( obj ) ) ;

Callers

nothing calls this directly

Calls 1

wrapFunction · 0.70

Tested by

no test coverage detected