pub unsafe fn realloc_raw(
payload: *mut u8,
old_size: usize,
new_size: usize,
) -> *mut u8Expand description
js_realloc: resize a block from alloc_raw, keeping its contents.
ยงSafety
payload must be null or come from alloc_raw/alloc_raw_zeroed/realloc_raw
together with the size it currently has, and must not be used again afterwards.