mi_heap_visit_blocks

Visit all areas and blocks in a heap.

extern (C) @nogc pure @system nothrow
bool
mi_heap_visit_blocks

Parameters

heap const(mi_heap_t)*

The heap to visit.

visit_all_blocks bool

If true visits all allocated blocks, otherwise visitor is only called for every heap area.

visitor mi_block_visit_fun

This function is called for every area in the heap (with block as NULL). If visit_all_blocks is true, visitor is also called for every allocated block in every area (with block!=NULL). return false from this function to stop visiting early.

arg const(void)*

Extra argument passed to visitor.

Return Value

Type: bool

true if all areas and blocks were visited.

Meta