pub unsafe extern "C" fn k_heap_init(
    h: *mut k_heap,
    mem: *mut c_void,
    bytes: usize,
)Expand description
@brief Initialize a k_heap
This constructs a synchronized k_heap object over a memory region specified by the user. Note that while any alignment and size can be passed as valid parameters, internal alignment restrictions inside the inner sys_heap mean that not all bytes may be usable as allocated memory.
@param h Heap struct to initialize @param mem Pointer to memory. @param bytes Size of memory region, in bytes