riot_sys

Function os_memblock_put_from_cb

Source
pub unsafe extern "C" fn os_memblock_put_from_cb(
    mp: *mut os_mempool,
    block_addr: *mut c_void,
) -> os_error_t
Expand description

Puts the memory block back into the pool, ignoring the put callback, if any. This function should only be called from a put callback to free a block without causing infinite recursion.

@param mp Pointer to memory pool @param block_addr Pointer to memory block

@return os_error_t