unsafe fn realloc_main_thread(
old_ptr: Sendable<*mut u8>,
old_size: usize,
align: usize,
new_size: usize,
) -> Sendable<*mut u8>Expand description
Reallocate memory on the R main thread.
§Safety
Must be called from R’s main thread (or routed via with_r_thread).
The old pointer must have been allocated by this allocator.