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
Type: const(mi_heap_t)*

The heap to visit.

visit_all_blocks
Type: bool

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

visitor

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
Type: const(void)*

Extra argument passed to visitor.

Return Value

Type: bool

true if all areas and blocks were visited.

Meta