zephyr::raw

Function k_mem_slab_free

source
pub unsafe extern "C" fn k_mem_slab_free(
    slab: *mut k_mem_slab,
    mem: *mut c_void,
)
Expand description

@brief Free memory allocated from a memory slab.

This routine releases a previously allocated memory block back to its associated memory slab.

@param slab Address of the memory slab. @param mem Pointer to the memory block (as returned by k_mem_slab_alloc()).