#include <cafe/mem.h> void MEMInitAllocatorForBlockHeap( MEMAllocator* pAllocator, MEMHeapHandle heap, int alignment );
|pAllocator||Address of the
|heap||Block heap handle.|
|alignment||Alignment value applied to each memory area to allocate.|
Initializes the allocator to allocate and free memory from the block heap. The alignment values of all memory areas allocated through this allocator are specified by alignment.
|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.