- Inside Macintosh: Memory /
- Chapter 2 - Memory Manager / Memory Manager Reference
- Memory Manager Routines
Allocating and Releasing Nonrelocatable Blocks of Memory
You can use the NewPtr function to allocate a nonrelocatable block of memory. If you want to allocate new blocks of memory in the system heap or with their bits precleared to 0, you can use the NewPtrSys, NewPtrClear, and NewPtrSysClear functions.
- WARNING
- You should not call any of these memory-allocation routines at
interrupt time.
You can use the DisposePtr procedure to free nonrelocatable blocks of memory you have allocated.
Subtopics
- NewPtr
-
- NewPtrSys
-
- NewPtrClear
-
- NewPtrSysClear
-
- DisposePtr
-
© Apple Computer, Inc.
3 JUL 1996