Q3CString_EmptyData
You can use theQ3CString_EmptyDatafunction to dispose of the memory allocated by a previous call toQ3CString_GetString.
TQ3Status Q3CString_EmptyData (char **string);
string- On entry, a pointer to a copy of the character data returned by a previous call to
Q3CString_GetString. On exit, the valueNULL.DESCRIPTION
TheQ3CString_EmptyDatafunction deallocates the memory pointed to by thestringparameter. The value of thestringparameter must have been returned by a previous call to theQ3CString_GetStringfunction. If successful,Q3CString_EmptyDatasets the value of thestringparameter toNULL. Thus, you can alternate calls toQ3CString_GetStringandQ3CString_EmptyDatawithout explicitly setting the character pointer toNULL.You should use
Q3CString_EmptyDataonly with string objects of typekQ3StringTypeCString.