- Inside Macintosh: Memory /
- Chapter 2 - Memory Manager / Memory Manager Reference
- Memory Manager Routines
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.
The TempNewHandle function allocates a new block of relocatable memory, the TempFreeMem function returns the total amount of free memory available for temporary allocation, and the TempMaxMem 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
-
© Apple Computer, Inc.
3 JUL 1996