From: Kenichi Handa Date: Sun, 2 Aug 1998 01:06:57 +0000 (+0000) Subject: (CODING_CATEGORY_IDX_CCL): New macro. X-Git-Tag: emacs-20.3~206 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8469bb88e5076a3f94f69788a2b6c3d1996fde87;p=emacs.git (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. --- 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 \