aboutsummaryrefslogtreecommitdiff
path: root/xpdf/CharTypes.h
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@pobox.com>2023-04-05 14:13:39 -0400
committerCalvin Morrison <calvin@pobox.com>2023-04-05 14:13:39 -0400
commit835e373b3eeaabcd0621ed6798ab500f37982fae (patch)
treedfa16b0e2e1b4956b38f693220eac4e607802133 /xpdf/CharTypes.h
xpdf-no-select-disableHEADmaster
Diffstat (limited to 'xpdf/CharTypes.h')
-rw-r--r--xpdf/CharTypes.h24
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