Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Memory /
Chapter 1 - Introduction to Memory Management / Memory Management Reference
Memory Management 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 with their bits precleared to 0, you can use the NewPtrClear function.

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
NewPtrClear
DisposePtr

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996