pub type mi_block_visit_fun = Option<unsafe extern "C" fn(heap: *const mi_heap_t, area: *const mi_heap_area_t, block: *mut c_void, block_size: usize, arg: *mut c_void) -> bool>;
Expand description

Visitor function passed to mi_heap_visit_blocks

Should return true to continue, and false to stop visiting (i.e. break)

This function is always first called for every area with block as a null pointer. If visit_all_blocks was true, the function is then called for every allocated block in that area.