Skip to content

mdz_wchar_reserve

Maksym Dzyubenko edited this page Feb 7, 2024 · 1 revision

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.

mdz_string functions

mdz_ansi functions

mdz_utf8 functions

mdz_wchar functions

mdz_utf16 functions

mdz_utf32 functions

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