diff options
Diffstat (limited to 'xpdf/CharTypes.h')
-rw-r--r-- | xpdf/CharTypes.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/xpdf/CharTypes.h b/xpdf/CharTypes.h new file mode 100644 index 0000000..d0df630 --- /dev/null +++ b/xpdf/CharTypes.h @@ -0,0 +1,24 @@ +//======================================================================== +// +// CharTypes.h +// +// Copyright 2001-2003 Glyph & Cog, LLC +// +//======================================================================== + +#ifndef CHARTYPES_H +#define CHARTYPES_H + +// Unicode character. +typedef unsigned int Unicode; + +// Character ID for CID character collections. +typedef unsigned int CID; + +// This is large enough to hold any of the following: +// - 8-bit char code +// - 16-bit CID +// - Unicode +typedef unsigned int CharCode; + +#endif |