#include <nnsys/fnd.h>
void NNS_FndInitAllocatorForFrmHeap(
NNSFndAllocator* pAllocator,
NNSFndHeapHandle heap,
int alignment);
pAllocator | NNSFndAllocator Structure Address. |
heap | Frame Heap Handle. |
alignment | Alignment value that is applied to each memory block allocated. |
None.
Initializes the allocator to allocate and free the memory from the frame heap. The alignment values of all memory blocks allocated through the allocator are specified with the argument alignment.
With the frame heap, memory blocks cannot be freed in block units, so with allocators set to use the frame heap, NNS_FndFreeToAllocator()
doesn't do anything.
NNS_FndInitAllocatorForExpHeap, NNS_FndInitAllocatorForUnitHeap, NNS_FndInitAllocatorForSDKHeap
2004/08/02 Initial version.
CONFIDENTIAL