OSFreeToHeap

C Specification

#include <revolution/os.h>
void OSFreeToHeap (OSHeapHandle heap, void* ptr);

Arguments

heap Heap handle where ptr was allocated.
ptr Pointer to object that the OSAlloc or OSAllocFromHeap function previously returned.

Return Values

None.

Description

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

Returns memory region referenced by ptr to heap.

See Also

Memory Allocation Functions, OSAlloc, OSAllocFromHeap, OSSetCurrentHeap

Revision History

2006/03/01 Initial version.


CONFIDENTIAL