Skip to main content

dealloc_main_thread

Function dealloc_main_thread 

Source
unsafe fn dealloc_main_thread(ptr: Sendable<*mut u8>)
Expand description

Deallocate memory on the R main thread.

§Safety

Must be called from R’s main thread (or routed via with_r_thread). The pointer must have been allocated by this allocator.