]> git.eshelyaron.com Git - emacs.git/commitdiff
(CODING_ASCII_INCOMPATIBLE_MASK): New macro.
authorKenichi Handa <handa@m17n.org>
Thu, 18 May 2006 02:17:39 +0000 (02:17 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 18 May 2006 02:17:39 +0000 (02:17 +0000)
src/coding.h

index 9ace4d1e074c96001c953b0527d5fd02202a857e..54553a071fa178e2742e622152a8c6fa7af506e9 100644 (file)
@@ -443,10 +443,12 @@ struct coding_system
   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.  */