]> code.delx.au - gnu-emacs/commitdiff
(struct coding_system): New member fake_multibyte.
authorKenichi Handa <handa@m17n.org>
Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 20 Feb 1998 01:40:47 +0000 (01:40 +0000)
src/coding.h

index 4669c4591876a7100cf1c0af3fbe9a1db57808fb..51b7939f54c598f5cc6ccbadb4c6d9aec9306381 100644 (file)
@@ -351,6 +351,12 @@ struct coding_system
   /* 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