#include <revolution/os.h> void OSFreeToHeap(OSHeapHandle heap, void* ptr);
heap |
Handle to the heap from which ptr was allocated |
|---|---|
| ptr | Pointer to the object previously returned from the OSAlloc or OSAllocFromHeap function |
None.
Although this function is provided for the sake of compatibility, we recommend using the MEM library.
Returns the memory region referred to by ptr in heap.
Memory Allocation Functions, OSAlloc, OSAllocFromHeap, OSSetCurrentHeap
2006/03/01 Initial version.
CONFIDENTIAL