#include <revolution/os.h> OSHeapHandle OSSetCurrentHeap(OSHeapHandle heap);
heap |
Handle to a heap that was returned from the OSCreateHeap function |
|---|
Previous heap handle.
Although this function is provided for compatibility's sake, we recommend using the MEM library.
Sets the current heap to heap. All subsequent calls to the OSAlloc and OSFree functions will be performed on this heap until another call to OSSetCurrentHeap.
Memory Allocation Functions, OSAlloc, OSFree
2006/03/01 Initial version.
CONFIDENTIAL