BridgeTCMallocInternalNewAlignedNothrow

Function BridgeTCMallocInternalNewAlignedNothrow 

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

Allocate size bytes aligned by alignment.

Return a pointer to the allocated memory or null if out of memory.

Returns a unique pointer if called with size 0. But access to memory by this pointer is undefined behaviour.