NNS_FndFreeToFrmHeap

Syntax

#include <nnsys/fnd.h>
void NNS_FndFreeToFrmHeap(NNSFndHeapHandle heap, int mode);

Arguments

heap Frame heap handle.
mode Memory block deallocation method (see below)

Return Values

None.

Description

This function deallocates memory blocks en masse. The deallocation method is set with mode. mode can take the following values:

NNS_FND_FRMHEAP_FREE_HEAD Deallocates groups of memory blocks allocated from the front of the heap region.
NNS_FND_FRMHEAP_FREE_TAIL Deallocates groups of memory blocks allocated from the back of the heap region.
NNS_FND_FRMHEAP_FREE_ALL Deallocates all memory blocks allocated from the heap at once. This is the same as if NNS_FND_FRMHEAP_FREE_HEAD and NNS_FND_FRMHEAP_FREE_TAIL are set at the same time.

See Also

NNS_FndAllocFromFrmHeap, NNS_FndAllocFromFrmHeapEx

Revision History

2004/04/01 Initial version.


CONFIDENTIAL