uwidth_max
Number of bytes a character can occupy. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-2)
- Source: allegro4.4
- Report a bug
Number of bytes a character can occupy. Allegro game programming library.
#include <allegro.h>
int uwidth_max(int type);
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));
uwidth(3alleg4), ucwidth(3alleg4)