#include <cafe/mem.h> void MEMInitAllocatorForFrmHeap( MEMAllocator* pAllocator, MEMHeapHandle heap, int alignment );
|pAllocator||Address of the
|heap||Frame heap handle.|
|alignment||Alignment value applied to each memory block to allocate.|
Initializes the allocator to allocate and deallocate memory from the frame heap. The alignment values of all memory blocks allocated through this allocator are specified by alignment.
Memory blocks cannot be deallocated in block units for the frame heap, so the
MEMFreeToAllocator function does nothing for allocators set to use the frame heap.
|Multiple threads||This function is not thread-safe.|
|Callbacks||Do not call this function from any callback function.|
2013-05-08 Automated cleanup pass.
2010-11-01 Initial version.