Function BridgeReallocAligned

Source
pub unsafe extern "C" fn BridgeReallocAligned(
    old_ptr: *mut c_void,
    new_size: size_t,
    alignment: size_t,
) -> *mut c_void
Expand description

Reallocate previously allocated memory.

The pointer old_ptr must have been allocated before.

The alignment must match the one used to allocate old_ptr.

Returned pointer should freed with TCMallocInternalDeleteAligned.