#include <cafe/mem.h> u32 MEMGetTrackingLeftInBlockHeap( MEMHeapHandle heap );
|heap||Block heap handle.|
Returns the number of free tracking blocks left in the block heap. When there are no blocks left an allocation will fail since there is no way to track the allocation. An allocation may also fail when only one block is left, since if an allocation is performed in the middle of a free area three pieces result, and two blocks are needed to track the allocation.
Determines the number of free tracking blocks left in the block heap.
|Callbacks||Do not call this function from any callback function.|
2013/05/08 Automated cleanup pass.
2010/11/01 Initial version.