#include <cafe/mem.h> void* MEMAllocFromAllocator( MEMAllocator* pAllocator, u32 size );
|pAllocator||Address of the
|size||Size of the memory block in bytes.|
When the memory block is allocated, the start address of this memory block is returned. When memory cannot be allocated,
NULL is returned.
Allocates a memory block from the allocator.
The implementation depends on the setting of the allocator and the memory manager related to the allocator.
|Callbacks||Do not call this function from any callback function.|
2013-05-08 Automated cleanup pass.
2010-11-01 Initial version.