mi_heap_destroy

Destroy a heap, freeing all its still allocated blocks.

Use with care as this will free all blocks still allocated in the heap. However, this can be a very efficient way to free all heap memory in one go.

If heap is the default heap, the default heap is set to the backing heap.

extern (C) @nogc pure @system nothrow
void
mi_heap_destroy

Meta