pub unsafe extern "C-unwind" fn R_ProtectWithIndex_unchecked(
s: SEXP,
index: *mut c_int,
)Expand description
Protect a SEXP and record its stack index for later R_Reprotect.
Cost: O(1) — same array write as Rf_protect, plus stores the index.
No allocation. Use when you need to replace a protected value in-place
(e.g., inside a loop that allocates) without unprotect/re-protect churn.
Unchecked FFI binding for R_ProtectWithIndex.
Generated from source location line 3851, column 12.
Generated from source file miniextendr-api/src/ffi.rs.