esp_idf_hal::sys

Function multi_heap_walk

Source
pub unsafe extern "C" fn multi_heap_walk(
    heap: *mut multi_heap_info,
    walker_func: Option<unsafe extern "C" fn(_: *mut c_void, _: usize, _: i32, _: *mut c_void) -> bool>,
    user_data: *mut c_void,
)
Expand description

@brief Call the tlsf_walk_pool function of the heap given as parameter with the walker function passed as parameter

@param heap The heap to traverse @param walker_func The walker to trigger on each block of the heap @param user_data Opaque pointer to user defined data