#include <nnsys/fnd.h>
void* NNS_FndAllocFromExpHeap(NNSFndHeapHandle heap, u32 size);
heap | Extended heap handle |
size | Memory block size (in bytes) |
When the memory block has been allocated, it returns the starting address of that memory block. When the memory cannot be allocated, NULL is returned.
Allocates a memory block from the extended heap. The memory block has an alignment of 4.
The size of the memory block may be larger than desired if the memory block was able to be allocated. In order to determine the actual allocated size (in bytes), use the NNS_FndGetSizeForMBlockExpHeap()
function.
NNS_FndAllocFromExpHeapEx, NNS_FndFreeToExpHeap, NNS_FndCreateExpHeap, NNS_FndCreateExpHeapEx
2004/04/01 Initial version.
CONFIDENTIAL