Skip to main content

get_unchecked

Function get_unchecked 

Source
pub(crate) unsafe fn get_unchecked() -> SEXP
Expand description

Get the current thread’s preservation list (unchecked version).

Skips thread safety checks for performance-critical paths.

§Safety

Must be called from the R main thread. Only use in contexts where you’re certain you’re on the main thread (ALTREP callbacks, extern “C-unwind” functions).