unsafe fn dealloc_main_thread(ptr: Sendable<*mut u8>)
Deallocate memory on the R main thread.
Must be called from R’s main thread (or routed via with_r_thread). The pointer must have been allocated by this allocator.
with_r_thread