Skip to main content

vmaxset

Function vmaxset 

Source
pub unsafe fn vmaxset(ovmax: *const c_void)
Expand description

Set the R memory stack watermark, freeing memory allocated since the mark.

§Safety

ovmax must be a value returned by vmaxget() called earlier in the same R evaluation context. Checked wrapper for vmaxset. Calls vmaxset_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 2113, column 12. Generated from source file miniextendr-api/src/sys.rs.