Carbon


SetZone

Header: MacMemory.h Carbon status: Unsupported

Changes the current heap zone.

void SetZone (
    THz hz
);
hz

A pointer to the heap zone to make current.

DISCUSSION

Often, you use the SetZone function in conjunction with one of the ApplicationZone, SystemZone, HandleZone, and PtrZone functions. For example, the code SetZone(SystemZone) makes the system heap zone current.

Call the function MemError to get the result code. See “Result Codes”.

AVAILABILITY

Not supported in Carbon. Not available in CarbonLib, but available when InterfaceLib 7.1 or later is installed. Exported by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)