Skip to main content

saved_carrier

Function saved_carrier 

Source
unsafe fn saved_carrier<'a, T: TypedExternal>(
    sexp: SEXP,
) -> Option<(SEXP, &'a RefCell<Option<Result<T, RCondition>>>)>
Expand description

The carrier of sexp’s saved protection list, and what it decoded, when sexp is a save of T with one.

§Safety

On R’s main thread, with sexp a valid EXTPTRSXP without an address.