Important: The information in this document is obsolete and should not be used for new development.
SREmptyLanguageObject
You can use theSREmptyLanguageObject
function to empty the contents of a language object.
pascal OSErr SREmptyLanguageObject (SRLanguageObject languageObject);
languageObject
- A language object.
DESCRIPTION
TheSREmptyLanguageObject
function empties the contents of the language object specified by thelanguageObject
parameter. (For example, iflanguageObject
specifies a phrase containing two words, callingSREmptyLanguageObject
would result in a phrase that contains no words.) Any properties of that object that are not related to its contents are unchanged. In particular,SREmptyLanguageObject
does not alter the value of the reference constant property of that language object.If there are no other references to the words, phrases, and paths that were contained in the language object, calling
SREmptyLanguageObject
causes them to be disposed of.