Skip to main content

R_realloc_gc

Function R_realloc_gc 

Source
unsafe fn R_realloc_gc(ptr: *mut c_void, size: usize) -> *mut c_void
Expand description

GC-aware realloc.

Triggers GC if allocation fails, then retries. Memory must be freed with free(). Checked wrapper for R_realloc_gc. Calls R_realloc_gc_unchecked and routes through with_r_thread. Generated from source location line 3380, column 8. Generated from source file miniextendr-api/src/ffi.rs.