Skip to main content

R_getVarEx_unchecked

Function R_getVarEx_unchecked 

Source
pub unsafe extern "C-unwind" fn R_getVarEx_unchecked(
    sym: SEXP,
    rho: SEXP,
    inherits: Rboolean,
    ifnotfound: SEXP,
) -> SEXP
Expand description

Single-frame (inherits = FALSE) or inherited variable lookup with an ifnotfound default — the API-blessed replacement for Rf_findVarInFrame. R 4.5.0 added it, so it is declared only when building against R >= 4.5 (r_4_5, #1905); for R 4.4, evaluate base::get0() instead. Longjmps if rho is not an environment or the binding is R_MissingArg; forces promises. Unchecked FFI binding for R_getVarEx. Generated from source location line 940, column 12. Generated from source file miniextendr-api/src/sys.rs.