OSDestroyHeap

Syntax

#include <revolution/os.h>

void* OSDestroyHeap(OSHeapHandle heap);

Arguments

heap Handle to an active heap, previously created with the OSCreateHeap function

Return Values

None.

Description

Although this function is provided for the sake of compatibility, we recommend using the MEM library.

Deallocates the descriptor for the heap region heap. Subsequent allocation requests from this heap will fail unless another heap with the same handle is created.

See Also

Memory Allocation Functions, OSCreateHeap

Revision History

2006/03/01 Initial version.


CONFIDENTIAL