Function flipper0::ffi::aligned_malloc

source ·
pub unsafe extern "C" fn aligned_malloc(
    size: usize,
    alignment: usize
) -> *mut c_void
Expand description

An aligned version of malloc, used when you need to get the aligned space on the heap Freeing the received address is performed ONLY through the aligned_free function @param size @param alignment @return void*