#include <revolution/mem.h> void* MEMAllocFromFrmHeap( MEMHeapHandle heap, u32 size );
heap |
Frame heap handle. |
size |
Size of memory block in bytes. |
When the memory block is allocated, the start address of this memory block is returned. When the memory cannot be allocated, NULL is returned.
Allocates a memory block from frame heap. The memory block has an alignment of 4.
MEMAllocFromFrmHeapEx, MEMFreeToFrmHeap, MEMCreateFrmHeap, MEMCreateFrmHeapEx
03/01/2006 Initial version.