#include <cafe/mem.h> u32 MEMAdjustExpHeap( MEMHeapHandle heap );
|heap||Expanded heap handle.|
Returns the total size of the expanded heap (including the header) after size reduction if this function is successful. Otherwise, zero is returned.
This function reduces the memory that the expanded heap uses by freeing the free region in the heap. The function fails if a memory block is allocated from the top of the heap region.
|Callbacks||Do not call this function from any callback function.|
2013-05-08 Automated cleanup pass.
2010-11-01 Initial version.