al_ustr_new

ALLEGRO_USTR *al_ustr_new(const char *s)
Introduced in 5.0.0

Create a new string containing a copy of the C-style string s. The string must eventually be freed with al_ustr_free.

See also: al_ustr_new_from_buffer, al_ustr_newf, al_ustr_dup, al_ustr_new_from_utf16

Examples: ex_logo, ex_utf8


Most helpful discussions:

Other recent discussions: