Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
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.
TheTempNewHandlefunction allocates a new block of relocatable memory, theTempFreeMemfunction returns the total amount of free memory available for temporary allocation, and theTempMaxMemfunction 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
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |