pub(crate) unsafe fn R_UnwindProtect(
fun: Option<unsafe extern "C-unwind" fn(*mut c_void) -> SEXP>,
fun_data: *mut c_void,
cleanfun: Option<unsafe extern "C-unwind" fn(*mut c_void, Rboolean)>,
cleanfun_data: *mut c_void,
cont: SEXP,
) -> SEXPExpand description
Checked wrapper for R_UnwindProtect. Calls R_UnwindProtect_unchecked inside with_r_thread, which panics off R’s main thread.
Generated from source location line 314, column 19.
Generated from source file miniextendr-api/src/sys.rs.