Important: The information in this document is obsolete and should not be used for new development.
Allocating Temporary Memory
In system software version 7.0 and later, you can manipulate temporary memory
with three routines that are counterparts to other Memory Manager routines.
TheTempNewHandle
function allocates a new block of relocatable memory, theTempFreeMem
function returns the total amount of free memory available for temporary allocation, and theTempMaxMem
function compacts the heap zone and returns the size
of the largest contiguous block available for temporary allocation.
- WARNING
- You should not call any of these memory-allocation routines at
interrupt time.
Subtopics
- TempNewHandle
- TempFreeMem
- TempMaxMem