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

Method Shield

inst/include/Rcpp/protection/Shield.h:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 class Shield{
36 public:
37 Shield( SEXP t_) : t(Rcpp_protect(t_)){}
38 ~Shield(){
39 if( t != R_NilValue ) Rcpp_unprotect(1) ;
40 }

Callers

nothing calls this directly

Calls 1

Rcpp_protectFunction · 0.85

Tested by

no test coverage detected