Ignore:
Timestamp:
Jun 23, 2005, 7:58:05 AM (20 years ago)
Author:
bird
Message:

Fixed some more incorrectness of the 'C' locale, it only defines the first 128 chars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/locale.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r2057 r2058  
    9090    /** MBCS prefixes. Two bits per character. */
    9191    unsigned char           au2MBCSPrefixs[256/4];
    92     /** Unicode translation. (0xffff means not translation.) */
     92    /** Unicode translation. (0xffff means no translation.) */
    9393    unsigned short          aucUnicode[256];
    9494    /** Unicode -> SBCS conversion: 0..128. */
     
    136136    /** Bit flags for every character (for iswXXX() function series). */
    137137    unsigned        aufType[256];
     138    /** Mask used to check if an index is within the above arrays.
     139     * This is required because 'C' doesn't do more than 0-127. So,
     140     * the mask is either ~0xff or ~0x7f. */
     141    unsigned        uMask;
    138142} __LIBC_LOCALEWCTYPE;
    139143/** Pointer to the Ctype unicode struct. */
     
    217221extern const __LIBC_LOCALECTYPE     __libc_GLocaleCtypeDefault;
    218222/** Cached Unicode (__wchar_t) case conversion tables and flags. */
    219 extern const __LIBC_LOCALEWCTYPE    __libc_GLocaleWCtype;
     223extern __LIBC_LOCALEWCTYPE    __libc_GLocaleWCtype;
    220224/** Locale information structure. */
    221225extern __LIBC_LOCALELCONV           __libc_gLocaleLconv;
Note: See TracChangeset for help on using the changeset viewer.