#include <nitro/os.h>
OSHeapHandle OS_SetCurrentHeap( OSArenaId id, OSHeapHandle heap );
This function sets the current heap. A current heap exists in each arena.
This function only sets the current heap in the specified arena.
The arena is specified by an arena ID id. For information on this value see OS_InitArena.
id |
The arena ID of the arena in which you will set a current heap. |
heap |
The handle of the heap to set as the current heap. |
The handle of the heap that was the previous current heap.
OS_InitArena, OS_InitAlloc, OS_CreateHeap
01/06/2004 Initial version