summaryrefslogtreecommitdiffstats
path: root/kpdf/xpdf/xpdf/CharTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf/xpdf/xpdf/CharTypes.h')
-rw-r--r--kpdf/xpdf/xpdf/CharTypes.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kpdf/xpdf/xpdf/CharTypes.h b/kpdf/xpdf/xpdf/CharTypes.h
new file mode 100644
index 00000000..d0df630d
--- /dev/null
+++ b/kpdf/xpdf/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