pub unsafe fn R_Reprotect(s: SEXP, index: c_int)Expand description
Replace the SEXP at a previously recorded protect stack index.
Cost: O(1) — direct array write (R_PPStack[index] = s). No allocation.
§Safety
index must be from a previous R_ProtectWithIndex call and the
stack must not have been unprotected past that index.
Checked wrapper for R_Reprotect. Calls R_Reprotect_unchecked and routes through with_r_thread.
Generated from source location line 3862, column 12.
Generated from source file miniextendr-api/src/ffi.rs.