Skip to content

mdz_wchar_reserve

maxdz-gmbh edited this page Apr 29, 2021 · 4 revisions

Reserve nNewCapacity bytes for string. Size and Length do not change.

mdz_bool mdz_wchar_reserve(struct mdz_Wchar* pWchar, size_t nNewCapacity);

Parameter Description
pWchar pointer to string returned by mdz_wchar_create() or mdz_wchar_create_attached()
nNewCapacity new capacity in "wide"-characters to reserve
Return Description
mdz_false if pWchar == NULL
mdz_false if memory allocation failed (MDZ_ERROR_ALLOCATION)
mdz_true reservation succeeded, or nNewCapacity <= Capacity (MDZ_ERROR_CAPACITY)
mdz_wchar API Reference is generated using mdzApiRefGenerator.

Init mdz_unicode library functions

mdz_utf8 functions

mdz_wchar functions

mdz_utf16 functions

mdz_utf32 functions

mdz_unicode API Reference is generated using mdzApiRefGenerator.
Clone this wiki locally