#include <revolution/os.h> void OSAddToHeap(OSHeapHandle heap, void* start, void* end);
heap |
Handle to the active heap, previously created with the OSCreateHeap function |
|---|---|
| size | Starting address of the block to add to heap |
| end | Ending address of the block to add to heap |
None.
Although this function is provided for the sake of compatibility, we recommend using the MEM library.
Adds an arbitrary block of memory to heap. Used to deallocate blocks previously allocated with the OSAllocFixed function, or to create non-contiguous heaps.
Memory Allocation Functions, OSAllocFixed, OSCreateHeap
2006/03/01 Initial version.
CONFIDENTIAL