mdz_utf8_destroy - maxdz-gmbh/mdz_unicode GitHub Wiki
Destroy UTF-8 string including underlying data. After destroying, pointer to string is set to NULL.
If utf8 is attached using mdz_utf8_createAttached(), free() will not be called.
If utf8 data is attached using mdz_utf8_attachData(), m_pData will not be destroyed.
void mdz_utf8_destroy(struct mdz_Utf8** ppUtf8);
| Parameter | Description |
|---|---|
ppUtf8 |
pointer to pointer to string returned by mdz_utf8_create() or mdz_utf8_create_attached()
|