logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ugetx, ugetxc - Low level helper function for reading Unicode text data. Allegro game programming

Description

       Low level helper function for reading Unicode text data. ugetxc is provided for working with  pointer-to-
       pointer-to-const char data. Example:

          char *p = string;
          int first_letter, second_letter, third_letter;
          first_letter = ugetx(&p);
          second_letter = ugetx(&p);
          third_letter = ugetx(&p);

Name

       ugetx,  ugetxc  -  Low  level  helper  function  for  reading Unicode text data. Allegro game programming
       library.

Return Value

       Returns  the  character pointed to by `s' in the current encoding format, and advances the pointer to the
       next character after the one just returned.

See Also

ugetc(3alleg4), usetc(3alleg4), uwidth(3alleg4), ucwidth(3alleg4), uisok(3alleg4)

Allegro                                           version 4.4.3                                   ugetx(3alleg4)

Synopsis

#include<allegro.h>intugetx(char**s);intugetxc(constchar**s);

See Also