#include <cafe/mem.h> void* MEMAllocFromBlockHeapEx( MEMHeapHandle heap, u32 size, int alignment );
|heap||Block heap handle.|
|size||Size in bytes of the allocation.|
|alignment||Alignment to use on allocation address. Use a negative value to allocate top-down.|
When the memory area is allocated, the start address of this memory area is returned.
When memory cannot be allocated,
NULL is returned.
The specified alignment is used. The allocated block is not modified in size to take up extra unused space in the heap.
Allocates a memory area from the block heap using a specific alignment.
|Callbacks||Do not call this function from any callback function.|
2013-05-08 Automated cleanup pass.
2010-11-01 Initial version.