MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / ~PreserveStorage

Method ~PreserveStorage

inst/include/Rcpp/storage/PreserveStorage.h:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 PreserveStorage() : data(R_NilValue), token(R_NilValue){}
32
33 ~PreserveStorage(){
34 Rcpp_PreciousRelease(token) ;
35 data = R_NilValue;
36 token = R_NilValue;
37 }
38
39 inline void set__(SEXP x){
40 if (data != x) {

Callers

nothing calls this directly

Calls 1

Rcpp_PreciousReleaseFunction · 0.85

Tested by

no test coverage detected