#include <revolution/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.
MEMAllocFromExpHeap, MEMAllocFromExpHeapEx, MEMFreeToExpHeap
2006/03/01 Initial version.
CONFIDENTIAL