summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h
index c9c19762d80..4e8b1056e43 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -468,7 +468,9 @@ struct coding_system
the eol format. */
ptrdiff_t head_ascii;
- ptrdiff_t detected_utf8_chars;
+ /* How many bytes/chars at the source are detected as valid utf-8
+ sequence. Set by detect_coding_utf_8. */
+ ptrdiff_t detected_utf8_bytes, detected_utf8_chars;
/* Used internally in coding.c. See the comment of detect_ascii. */
int eol_seen;