Skip to main content

realloc_main_thread

Function realloc_main_thread 

Source
unsafe fn realloc_main_thread(
    old: *mut u8,
    old_size: usize,
    align: usize,
    new_size: usize,
) -> *mut u8
Expand description

Reallocate memory on the R main thread.

§Safety

Must be called from R’s main thread. The old pointer must have been allocated by this allocator.