changeset 70703:85b353760b1c

(CODING_ASCII_INCOMPATIBLE_MASK): New macro.
author Kenichi Handa <handa@m17n.org>
date Thu, 18 May 2006 02:17:39 +0000
parents b6ef71fed693
children 576f5c8ea6e4
files src/coding.h
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.h	Wed May 17 22:54:44 2006 +0000
+++ b/src/coding.h	Thu May 18 02:17:39 2006 +0000
@@ -443,10 +443,12 @@
   Lisp_Object translation_table_for_encode;
 };
 
-#define CODING_REQUIRE_FLUSHING_MASK	1
-#define CODING_REQUIRE_DECODING_MASK	2
-#define CODING_REQUIRE_ENCODING_MASK	4
-#define CODING_REQUIRE_DETECTION_MASK	8
+/* Mask bits for (struct coding_system *)->common_flags.  */
+#define CODING_REQUIRE_FLUSHING_MASK	0x01
+#define CODING_REQUIRE_DECODING_MASK	0x02
+#define CODING_REQUIRE_ENCODING_MASK	0x04
+#define CODING_REQUIRE_DETECTION_MASK	0x08
+#define CODING_ASCII_INCOMPATIBLE_MASK	0x10
 
 /* Return 1 if the coding system CODING requires specific code to be
    attached at the tail of converted text.  */