al_do_multiline_ustr(3)

al_do_multiline_ustr3

Allegro 5 api

Usage

#include <allegro5/allegro_font.h>
void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width,
   const ALLEGRO_USTR *ustr,
   bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra),
   void *extra)

Overview

Like al_do_multiline_text(3), but using ALLEGRO_USTR instead of a NUL-terminated char array for text.

Since

5.1.9

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