Skip to content

mdz_ansi_resize

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

Set string Size. Size must be < Capacity (because of terminating 0)

mdz_bool mdz_ansi_resize(struct mdz_Ansi* pAnsi, size_t nNewSize);

Parameter Description
pAnsi pointer to string returned by mdz_ansi_create() or mdz_ansi_create_attached()
nNewSize new Size to set string in
Return Description
mdz_false if pAnsi == NULL
mdz_false if nNewSize >= Capacity (MDZ_ERROR_CAPACITY). String Size is not changed
mdz_true if succeeded
mdz_ansi 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