Carbon


ATSUDisposeStyle

Header: ATSUnicode.h Carbon status: Supported

Disposes of the memory associated with a style object.

OSStatus ATSUDisposeStyle (
    ATSUStyle iStyle
);
Parameter descriptions
iStyle

A reference to a style object whose associated memory you wish to dispose of. You cannot pass NULL for this parameter.

function result

A result code.

DISCUSSION

The ATSUDisposeStyle function frees the memory associated with the style object and its internal structures, including style run attributes. It does not dispose of the memory pointed to by application-defined style run attributes or reference constants. You are responsible for doing so.

VERSION NOTES

Available beginning with ATSUI 1.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.


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