summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qpdf/xpdf/CharTypes.h
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/qpdf/xpdf/CharTypes.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/xpdf/CharTypes.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/noncore/unsupported/qpdf/xpdf/CharTypes.h b/noncore/unsupported/qpdf/xpdf/CharTypes.h
new file mode 100644
index 0000000..8938be5
--- a/dev/null
+++ b/noncore/unsupported/qpdf/xpdf/CharTypes.h
@@ -0,0 +1,24 @@
+//========================================================================
+//
+// CharTypes.h
+//
+// Copyright 2001 Derek B. Noonburg
+//
+//========================================================================
+
+#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