#include <revolution/mem.h> void MEMFreeToFrmHeap( MEMHeapHandle heap, int mode );
heap |
Frame heap handle |
|---|---|
| mode | Memory block deallocation method (see below) |
None.
This function frees memory blocks in bulk. The mode specifies how to free memory. The following values can be assigned to mode.
MEM_FRMHEAP_FREE_HEAD |
Frees memory block groups allocated from the bottom of the heap region. |
|---|---|
MEM_FRMHEAP_FREE_TAIL |
Frees memory block groups allocated from the top of the heap region. |
MEM_FRMHEAP_FREE_ALL |
Simultaneously deallocates all allocated memory blocks from the heap. This is equivalent to specifying both MEM_FRMHEAP_FREE_HEAD and MEM_FRMHEAP_FREE_TAIL simultaneously. |
MEMAllocFromFrmHeap, MEMAllocFromFrmHeapEx
2006/03/01 Initial version.
CONFIDENTIAL