MCPcopy Create free account
hub / github.com/apache/arrow / precious

Function precious

r/src/symbols.cpp:39–44  ·  view source on GitHub ↗

persistently protect `x` and return it

Source from the content-addressed store, hash-verified

37
38// persistently protect `x` and return it
39SEXP precious(SEXP x) {
40 PROTECT(x);
41 R_PreserveObject(x);
42 UNPROTECT(1);
43 return x;
44}
45
46// returns the namespace environment for package `name`
47SEXP precious_namespace(std::string name) {

Callers 1

symbols.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected