[][src]Function wamr_sys::wasm_runtime_realloc

pub unsafe extern "C" fn wasm_runtime_realloc(
    ptr: *mut c_void,
    size: c_uint
) -> *mut c_void

Reallocate memory from runtime memory environment

@param ptr the original memory @param size bytes need to reallocate

@return the pointer to memory reallocated