summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1998-08-02 01:06:57 +0000
committerKenichi Handa <handa@m17n.org>1998-08-02 01:06:57 +0000
commit8469bb88e5076a3f94f69788a2b6c3d1996fde87 (patch)
treec946a2452985fca0d7903efee6d845c68ff334eb /src/coding.h
parent8f393ef9181cacbd74ccf5a9e694440cb27b0432 (diff)
downloademacs-8469bb88e5076a3f94f69788a2b6c3d1996fde87.tar.gz
(CODING_CATEGORY_IDX_CCL): New macro.
(CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by one. (CODING_CATEGORY_MASK_CCL): New macro. (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/coding.h b/src/coding.h
index 15a1669329c..a9a54f85e3b 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -417,10 +417,11 @@ struct coding_system
#define CODING_CATEGORY_IDX_ISO_8_2 5
#define CODING_CATEGORY_IDX_ISO_7_ELSE 6
#define CODING_CATEGORY_IDX_ISO_8_ELSE 7
-#define CODING_CATEGORY_IDX_BIG5 8
-#define CODING_CATEGORY_IDX_RAW_TEXT 9
-#define CODING_CATEGORY_IDX_BINARY 10
-#define CODING_CATEGORY_IDX_MAX 11
+#define CODING_CATEGORY_IDX_CCL 8
+#define CODING_CATEGORY_IDX_BIG5 9
+#define CODING_CATEGORY_IDX_RAW_TEXT 10
+#define CODING_CATEGORY_IDX_BINARY 11
+#define CODING_CATEGORY_IDX_MAX 12
/* Definitions of flag bits returned by the function
detect_coding_mask (). */
@@ -432,6 +433,7 @@ struct coding_system
#define CODING_CATEGORY_MASK_ISO_8_2 (1 << CODING_CATEGORY_IDX_ISO_8_2)
#define CODING_CATEGORY_MASK_ISO_7_ELSE (1 << CODING_CATEGORY_IDX_ISO_7_ELSE)
#define CODING_CATEGORY_MASK_ISO_8_ELSE (1 << CODING_CATEGORY_IDX_ISO_8_ELSE)
+#define CODING_CATEGORY_MASK_CCL (1 << CODING_CATEGORY_IDX_CCL)
#define CODING_CATEGORY_MASK_BIG5 (1 << CODING_CATEGORY_IDX_BIG5)
#define CODING_CATEGORY_MASK_RAW_TEXT (1 << CODING_CATEGORY_IDX_RAW_TEXT)
#define CODING_CATEGORY_MASK_BINARY (1 << CODING_CATEGORY_IDX_BINARY)
@@ -447,6 +449,7 @@ struct coding_system
| CODING_CATEGORY_MASK_ISO_8_2 \
| CODING_CATEGORY_MASK_ISO_7_ELSE \
| CODING_CATEGORY_MASK_ISO_8_ELSE \
+ | CODING_CATEGORY_MASK_CCL \
| CODING_CATEGORY_MASK_BIG5)
#define CODING_CATEGORY_MASK_ISO_7BIT \