Module extendr_api::ownership
source ยท Expand description
Maintain ownership of R objects.
This provides the functions protect
and unprotect
.
A single preserved vector holds ownership of all protected objects.
Objects are reference counted, so multiple calls are possible,
unlike R_PreserveObject
.
This module exports two functions, protect(sexp)
and unprotect(sexp)
.
Modulesยง
- send_
sexp ๐Provide a wrapper around Rโs pointer typeSEXP
that isSend
.
Structsยง
Constantsยง
Staticsยง
- OWNERSHIP ๐