diff options
author | Kenichi Handa <handa@m17n.org> | 1998-02-20 01:40:47 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1998-02-20 01:40:47 +0000 |
commit | e6a9a0bce6a667bcce8c4c59407a97747501541d (patch) | |
tree | 3ee9c35ae4021e7424b6029ed83c1adebdcc785e /src/coding.h | |
parent | 64e0ae2a6a50facd2fe5a7758c1cbbbb306ef7c0 (diff) | |
download | emacs-e6a9a0bce6a667bcce8c4c59407a97747501541d.tar.gz |
(struct coding_system): New member fake_multibyte.
Diffstat (limited to 'src/coding.h')
-rw-r--r-- | src/coding.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |