Important: The information in this document is obsolete and should not be used for new development.
NewPtrSys
You can use theNewPtrSys
function to allocate a nonrelocatable block of memory of a specified size in the system heap.
FUNCTION NewPtrSys (logicalSize: Size): Ptr;
logicalSize
- The requested size (in bytes) of the nonrelocatable block.
DESCRIPTION
TheNewPtrSys
function works much as theNewPtr
function does, but attempts to allocate the requested block in the system heap zone instead of in the current heap zone.RESULT CODES
noErr 0 No error memFullErr -108 Not enough memory