al_ustr_new_from_utf16(3)

al_ustr_new_from_utf163

Allegro 5 api

Usage

#include <allegro5/allegro.h>
ALLEGRO_USTR *al_ustr_new_from_utf16(uint16_t const *s)

Overview

Create a new string containing a copy of the 0-terminated string s which must be encoded as UTF-16. The string must eventually be freed with al_ustr_free(3).

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.