From: Kenichi Handa Date: Fri, 20 Feb 1998 01:40:47 +0000 (+0000) Subject: (struct coding_system): New member fake_multibyte. X-Git-Tag: emacs-20.3~2144 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6a9a0bce6a667bcce8c4c59407a97747501541d;p=emacs.git (struct coding_system): New member fake_multibyte. --- diff --git a/src/coding.h b/src/coding.h index 4669c459187..51b7939f54c 100644 --- a/src/coding.h +++ b/src/coding.h @@ -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