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

Function RCPP_MODULE

inst/tinytest/testRcppModule/src/Num.cpp:38–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36};
37
38RCPP_MODULE(RcppModuleNumEx){
39 using namespace Rcpp ;
40
41 class_<RcppModuleNum>( "RcppModuleNum" )
42
43 .default_constructor()
44
45 // read and write property
46 .property( "x", &RcppModuleNum::getX, &RcppModuleNum::setX )
47
48 // read-only property
49 .property( "y", &RcppModuleNum::getY )
50 ;
51}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected