pub unsafe extern "C" fn sys_multi_mem_blocks_free(
group: *mut sys_multi_mem_blocks,
count: usize,
in_blocks: *mut *mut c_void,
) -> i32Expand description
@brief Free memory allocated from multi memory blocks allocator group
Free previous allocated memory blocks from sys_multi_mem_blocks_alloc().
Note that all blocks in @p in_blocks must be from the same allocator.
@param[in] group Multi memory blocks allocator structure. @param[in] count Number of blocks to free. @param[in] in_blocks Input array of pointers to the memory blocks.
@retval 0 Successful @retval -EINVAL Invalid argument supplied, or no allocator chosen. @retval -EFAULT Invalid pointer(s) supplied.