Skip to main content

Rf_unprotect_unchecked

Function Rf_unprotect_unchecked 

Source
pub unsafe extern "C-unwind" fn Rf_unprotect_unchecked(l: c_int)
Expand description

Pop the top l entries from the protect stack.

Cost: O(1) — single integer subtract (R_PPStackTop -= l). No allocation.

The popped SEXPs become eligible for GC. Must match the number of Rf_protect calls in the current scope (LIFO order). Unchecked FFI binding for Rf_unprotect. Generated from source location line 2097, column 12. Generated from source file miniextendr-api/src/ffi.rs.