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

Function Rcpp_precious_init

src/barrier.cpp:101–104  ·  view source on GitHub ↗

[[Rcpp::register]]

Source from the content-addressed store, hash-verified

99static SEXP Rcpp_precious = R_NilValue;
100// [[Rcpp::register]]
101void Rcpp_precious_init() {
102 Rcpp_precious = CONS(R_NilValue, R_NilValue); // set up
103 R_PreserveObject(Rcpp_precious); // and protect
104}
105// [[Rcpp::register]]
106void Rcpp_precious_teardown() { // #nocov start
107 R_ReleaseObject(Rcpp_precious); // release resource

Callers 1

R_init_RcppFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected