diff src/coding.h @ 20930:1331679fe704

(struct coding_system): New member fake_multibyte.
author Kenichi Handa <handa@m17n.org>
date Fri, 20 Feb 1998 01:40:47 +0000
parents 19463997fbc6
children 7352e0598efa
line wrap: on
line diff
--- a/src/coding.h	Fri Feb 20 01:40:47 1998 +0000
+++ b/src/coding.h	Fri Feb 20 01:40:47 1998 +0000
@@ -351,6 +351,12 @@
   /* The following members are set by encoding/decoding routine.  */
   int produced, produced_char, consumed, consumed_char;
 
+  /* Encoding routines set this to 1 when they produce a byte sequence
+     which can be parsed as a multibyte character.  Decoding routines
+     set this to 1 when they encounter an invalid code and, as the
+     result, produce an unexpected multibyte character.  */
+  int fake_multibyte;
+
   /* The following members are all Lisp symbols.  We don't have to
      protect them from GC because the current garbage collection
      doesn't relocate Lisp symbols.  But, when it is changed, we must