nn::fnd::FrameHeapTemplate::Free Member Function

Syntax

void Free(
     int mode = NN_FND_FRAMEHEAP_FREE_ALL
);

Parameters

Name Description
in mode Method used to free the memory blocks.

Return Values

None.

Description

Frees all memory blocks that were allocated from the frame heap.

Specifying NN_FND_FRAMEHEAP_FREE_HEAD for the mode argument frees all memory blocks that were allocated from the front of the heap.

Specifying NN_FND_FRAMEHEAP_FREE_TAIL for the mode argument frees all memory blocks that were allocated from the end of the heap.

Specifying NN_FND_FRAMEHEAP_FREE_ALL for the mode argument frees all memory blocks that were allocated from the heap. This has the same effect as specifying MEM_FRMHEAP_FREE_HEAD and MEM_FRMHEAP_FREE_TAIL at the same time.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL