#include <revolution/mem.h>
void MEMInitAllocatorForExpHeap(
MEMAllocator* pAllocator,
MEMHeapHandle heap,
int alignment );
pAllocator |
Address of the MemAllocator structure |
|---|---|
heap |
Expanded heap handle. |
alignment |
Alignment value applied to each memory block to allocate. |
None.
Initializes the allocator to allocate and free memory from the expanded heap. The alignment values of all memory blocks allocated through this allocator are specified by alignment.
MEMInitAllocatorForFrmHeap, MEMInitAllocatorForUnitHeap, MEMInitAllocatorForOSHeap
2006/03/01 Initial version.
CONFIDENTIAL