nstd_alloc_reallocate

Function nstd_alloc_reallocate 

Source
pub unsafe extern "C" fn nstd_alloc_reallocate(
    ptr: *mut NSTDAny,
    size: usize,
    new_size: usize,
) -> i32
Expand description

Reallocates a memory block. Parameters: NSTDAny *const ptr - Pointer to the memory block. const NSTDUSize size - The current size of the memory block. const NSTDUSize new_size - The new size of the memory block. Returns: NSTDInt32 errc - Nonzero on error.