Carbon


ATSUDisposeMemorySetting

Header: ATSUnicode.h Carbon status: Unsupported

Disposes of a memory setting.

OSStatus ATSUDisposeMemorySetting (
    ATSUMemorySetting iMemorySetting
);
Parameter descriptions
iMemorySetting

A reference to the memory setting that you wish to dispose of. If you dispose of the current memory setting, ATSUI will use the current heap and its own callback functions to perform memory allocation operations.

function result

A result code.

DISCUSSION

Before you dispose of a memory setting, you should dispose of the memory associated with style and text layout objects that were allocated using that memory setting. For example, if you want to dispose of a memory setting that uses your application-defined callback functions to allocate memory, you should dispose of any memory that ATSUI allocated as a result of these callbacks before disposing of the setting.

VERSION NOTES

Available beginning with ATSUI 1.1.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Control of memory allocation not available in CarbonLib and not necessary on Mac OS X.


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