Ignore:
Timestamp:
Apr 19, 2008, 9:40:25 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Documentation fixes (due to renamings, some parameters were no longer documented).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/charset.c

    r2304 r2306  
    3232 */
    3333
    34 static char const trailing[256] =
     34static uint8_t const trailing[256] =
    3535{
    3636    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
     
    107107 *
    108108 *  \param s A string containing the UTF-8 character.
    109  *  \param read A pointer to an unsigned integer to store the number of
    110  *  bytes in the character, or NULL.
     109 *  \param bytes A pointer to a size_t to store the number of bytes in the
     110 *        character, or NULL.
    111111 *  \return The corresponding UTF-32 character, or zero if the character
    112112 *  is incomplete.
     
    114114uint32_t cucul_utf8_to_utf32(char const *s, size_t *bytes)
    115115{
    116     unsigned int todo = trailing[(int)(unsigned char)*s];
    117     unsigned int i = 0;
     116    int todo = trailing[(int)(unsigned char)*s];
     117    int i = 0;
    118118    uint32_t ret = 0;
    119119
Note: See TracChangeset for help on using the changeset viewer.