1 | //======================================================================== |
2 | // |
3 | // CharTypes.h |
4 | // |
5 | // Copyright 2001-2003 Glyph & Cog, LLC |
6 | // |
7 | //======================================================================== |
8 | |
9 | #ifndef CHARTYPES_H |
10 | #define CHARTYPES_H |
11 | |
12 | // Unicode character. |
13 | typedef unsigned int Unicode; |
14 | |
15 | // Character ID for CID character collections. |
16 | typedef unsigned int CID; |
17 | |
18 | // This is large enough to hold any of the following: |
19 | // - 8-bit char code |
20 | // - 16-bit CID |
21 | // - Unicode |
22 | typedef unsigned int CharCode; |
23 | |
24 | #endif |
25 | |