TECDisposeConverter
Disposes of a converter object.
Declaration
OSStatus TECDisposeConverter(TECObjectRef newEncodingConverter);Parameters
- newEncodingConverter:
A reference to the text encoding converter object you want to remove. This can be the reference returned by the 1571815 Teccreateconverter, 1571829 Teccreateconverterfrompath, or 1571794 Teccreateonetomanyconverter functions.
Return Value
A resultcode. See Result Codes.
Discussion
If you want to reuse the converter object for a differenttext stream with the same source and destination encoding, you shouldclear the converter object using the TECClearConverterContextInfo functionrather than disposing of it and then creating a new converter object.