#include <cafe/mem.h> int MEMAddBlockHeapTracking( MEMHeapHandle heap, void * track_mem, u32 track_mem_bytes );
|heap||Block heap handle.|
|track_mem||Pointer to memory to use for the group of tracking blocks.|
|track_mem_bytes||Size in bytes of memory of the group of tracking blocks.|
Zero is returned if the function is successful. Otherwise, if invalid arguments are used, a negative integer value is returned.
Adds a group of tracking blocks to a block heap so that more allocations may occur. The memory for the group is in use until the block heap is destroyed. There is no automatic management or cleanup of the memory used for the group.
|Callbacks||Do not call this function from any callback function.|
2013/05/08 Automated cleanup pass.
2010/11/01 Initial version.