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

Function Rcpp_PreserveObject

inst/include/RcppCommon.h:100–103  ·  view source on GitHub ↗

begin deprecated interface not using precious list use Rcpp_PreciousPreserve + Rcpp_PreciousRelease below it

Source from the content-addressed store, hash-verified

98 // begin deprecated interface not using precious list
99 // use Rcpp_PreciousPreserve + Rcpp_PreciousRelease below it
100 inline SEXP Rcpp_PreserveObject(SEXP x) {
101 if (x != R_NilValue) R_PreserveObject(x);
102 return x;
103 }
104 inline void Rcpp_ReleaseObject(SEXP x) {
105 if (x != R_NilValue) R_ReleaseObject(x);
106 }

Callers 1

Rcpp_ReplaceObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected