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

Function converter

inst/include/Rcpp/Module.h:564–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562
563 template <typename FROM, typename TO>
564 void converter( const char* from, const char* to, TO (*fun)(FROM), const char* docstring = 0 ){
565 std::string fun_name = internal::get_converter_name<FROM,TO>( from, to ) ;
566 function( fun_name.c_str(), fun, docstring ) ;
567 }
568
569 class CppClass : public S4{
570 typedef S4 Base;

Callers

nothing calls this directly

Calls 1

functionFunction · 0.85

Tested by

no test coverage detected