NNS_FndInitAllocatorForUnitHeap

Syntax

#include <nnsys/fnd.h>
void NNS_FndInitAllocatorForUnitHeap(
         NNSFndAllocator*    pAllocator,
         NNSFndHeapHandle    heap);

Arguments

pAllocator NNSFndAllocator Structure Address.
heap Unit Heap Handle.

Return Values

None.

Description

Initializes the allocator to allocate and free the memory from the unit heap.

It is not possible to allocate a memory block that is larger than the size of the memory block specified in the specified unit heap. In a case like that, the function NNS_FndAllocFromAllocator() would return NULL.

See Also

NNS_FndInitAllocatorForExpHeap, NNS_FndInitAllocatorForFrmHeap, NNS_FndInitAllocatorForSDKHeap

Revision History

2004/08/02 Initial version.


CONFIDENTIAL