diff options
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h index 28a7d776b63..d40209be68f 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -440,9 +440,13 @@ struct coding_system | |||
| 440 | /* How may heading bytes we can skip for decoding. This is set to | 440 | /* How may heading bytes we can skip for decoding. This is set to |
| 441 | -1 in setup_coding_system, and updated by detect_coding. So, | 441 | -1 in setup_coding_system, and updated by detect_coding. So, |
| 442 | when this is equal to the byte length of the text being | 442 | when this is equal to the byte length of the text being |
| 443 | converted, we can skip the actual conversion process. */ | 443 | converted, we can skip the actual conversion process except for |
| 444 | the eol format. */ | ||
| 444 | ptrdiff_t head_ascii; | 445 | ptrdiff_t head_ascii; |
| 445 | 446 | ||
| 447 | /* Used internally in coding.c. See the comment of detect_ascii. */ | ||
| 448 | int eol_seen; | ||
| 449 | |||
| 446 | /* The following members are set by encoding/decoding routine. */ | 450 | /* The following members are set by encoding/decoding routine. */ |
| 447 | ptrdiff_t produced, produced_char, consumed, consumed_char; | 451 | ptrdiff_t produced, produced_char, consumed, consumed_char; |
| 448 | 452 | ||
| @@ -715,6 +719,9 @@ extern wchar_t *to_unicode (Lisp_Object str, Lisp_Object *buf); | |||
| 715 | failure modes. STR itself is not modified. */ | 719 | failure modes. STR itself is not modified. */ |
| 716 | extern Lisp_Object from_unicode (Lisp_Object str); | 720 | extern Lisp_Object from_unicode (Lisp_Object str); |
| 717 | 721 | ||
| 722 | /* Convert WSTR to an Emacs string. */ | ||
| 723 | extern Lisp_Object from_unicode_buffer (const wchar_t* wstr); | ||
| 724 | |||
| 718 | #endif /* WINDOWSNT || CYGWIN */ | 725 | #endif /* WINDOWSNT || CYGWIN */ |
| 719 | 726 | ||
| 720 | /* Macros for backward compatibility. */ | 727 | /* Macros for backward compatibility. */ |