Function sys_heap_noalign_alloc

Source
pub unsafe extern "C" fn sys_heap_noalign_alloc(
    heap: *mut sys_heap,
    align: usize,
    bytes: usize,
) -> *mut c_void
Expand description

@brief Allocate memory from a sys_heap

This is a wrapper for sys_heap_alloc() whose purpose is to provide the same function signature as sys_heap_aligned_alloc().

@param heap Heap from which to allocate @param align Ignored placeholder @param bytes Number of bytes requested @return Pointer to memory the caller can now use