Carbon


FNSReferenceDispose

Header: FontSync.h Carbon status: Supported

Disposes of the storage associated with a font reference.

OSStatus FNSReferenceDispose (
    FNSFontReference iReference
);
Parameter descriptions
iReference

A pointer to the font reference whose associated memory you wish to dispose of.

function result

A result code. The result code kFNSBadReferenceVersionErr indicates that a font reference has an unsupported format version. This may indicate that the font reference is valid, but created by a later version of FontSync, or that the reference is truly invalid. The result code kFNSInvalidReferenceErr indicates that a font reference is invalid. Memory Manager errors indicate that you did not have enough memory available in your heap.

SPECIAL CONSIDERATIONS

You should not use a font reference after calling the FNSReferenceDispose function to dispose of its storage.

VERSION NOTES

Available beginning with FontSync 1.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when Font Sync 1.0 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)