mdz_utf16_destroy - maxdz-gmbh/mdz_unicode GitHub Wiki
Destroy UTF-16 string including underlying data. After destroying, pointer to string is set to NULL.
If utf16 is attached using mdz_utf16_createAttached(), free() will not be called.
If utf16 data is attached using mdz_utf16_attachData(), m_pData will not be destroyed.
void mdz_utf16_destroy(struct mdz_Utf16** ppUtf16);
| Parameter | Description |
|---|---|
ppUtf16 |
pointer to pointer to string returned by mdz_utf16_create() or mdz_utf16_create_attached()
|