Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

uwidth_max - Number of bytes a character can occupy. Allegro game programming library.

Description

       Low  level  helper  function for working with Unicode text data. Returns the largest number of bytes that
       one character can occupy in the given encoding format. Pass U_CURRENT to represent  the  current  format.
       Example:

          char *temp_buffer = malloc(256 * uwidth_max(U_UTF8));

Name

       uwidth_max - Number of bytes a character can occupy. Allegro game programming library.

See Also

uwidth(3alleg4), ucwidth(3alleg4)

Allegro                                           version 4.4.3                              uwidth_max(3alleg4)

Synopsis

#include<allegro.h>intuwidth_max(inttype);

See Also