pub unsafe extern "C" fn k_heap_free(h: *mut k_heap, mem: *mut c_void)
Expand description
@brief Free memory allocated by k_heap_alloc()
Returns the specified memory block, which must have been returned from k_heap_alloc(), to the heap for use by other callers. Passing a NULL block is legal, and has no effect.
@param h Heap to which to return the memory @param mem A valid memory block, or NULL