changeset 22873:79b98ccffdfc

(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.
author Kenichi Handa <handa@m17n.org>
date Sun, 02 Aug 1998 01:06:57 +0000
parents 9a4c2093ceae
children b133f07a76db
files src/coding.h
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.h	Sun Aug 02 00:30:33 1998 +0000
+++ b/src/coding.h	Sun Aug 02 01:06:57 1998 +0000
@@ -417,10 +417,11 @@
 #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 @@
 #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 @@
    | 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 \