summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/coding.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/coding.h b/src/coding.h
index 9ace4d1e074..54553a071fa 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -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. */