#include <revolution/os.h> void OSFree(void* ptr);
| ptr | Non-null pointer to the object previously allocated by the OSAlloc or OSAllocFromHeap function |
|---|
None.
Although this function is provided for the sake of compatibility, we recommend using the MEM library.
Deallocates memory referred to by ptr, a pointer to the current heap.
Memory Allocation Functions, OSAlloc, OSAllocFromHeap, OSSetCurrentHeap
2006/03/01 Initial version.
CONFIDENTIAL