![]() |
ATSUDisposeMemorySetting |
||||
Header: | ATSUnicode.h | Carbon status: | Unsupported | |
Disposes of a memory setting.
OSStatus ATSUDisposeMemorySetting ( ATSUMemorySetting 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.
A result code.
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.
Available beginning with ATSUI 1.1.
Not supported in Carbon. Not available in Carbon.
Control of memory allocation not available in CarbonLib and not necessary on Mac OS X.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)