mdz_wchar_create - maxdz-gmbh/mdz_unicode GitHub Wiki
Create empty "wide"-character string with Capacity
== 1 (for 0-terminator), Size
== 0 and Length
== 0.
struct mdz_Wchar* mdz_wchar_create(size_t nEmbedSize);
Parameter | Description |
---|---|
nEmbedSize |
size of "embedded part" of string. There is no "embedded part" if 0 |
Return | Description |
---|---|
NULL |
if library is not initialized with mdz_unicode_init() call |
NULL |
if memory allocation failed |
NULL |
if sizeof(wchar_t ) != 2 (see description in file header) |
Result | pointer to string for use in other mdz_wchar functions |