esp_idf_hal::sys

Function heap_caps_walk

Source
pub unsafe extern "C" fn heap_caps_walk(
    caps: u32,
    walker_func: Option<unsafe extern "C" fn(_: walker_heap_info, _: walker_block_info, _: *mut c_void) -> bool>,
    user_data: *mut c_void,
)
Expand description

@brief Function called to walk through the heaps with the given set of capabilities

@param caps The set of capabilities assigned to the heaps to walk through @param walker_func Callback called for each block of the heaps being traversed @param user_data Opaque pointer to user defined data