Function flipperzero_sys::aligned_malloc
source · pub unsafe extern "C" fn aligned_malloc(
size: usize,
alignment: usize
) -> *mut c_voidExpand 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
Returns:
- void*
Arguments
size-alignment-