diff options
| author | Ken Raeburn | 2009-07-25 07:43:08 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2009-07-25 07:43:08 +0000 |
| commit | 8890e5f53ce4cbf32452638d5e7f059a4df1f505 (patch) | |
| tree | 5155a620a44bff9d34d9ddcb9d7173962b1abb3e /src/coding.h | |
| parent | 2baf5e7610491eedb042b89056324d7f79e8a288 (diff) | |
| download | emacs-8890e5f53ce4cbf32452638d5e7f059a4df1f505.tar.gz emacs-8890e5f53ce4cbf32452638d5e7f059a4df1f505.zip | |
* coding.h (decode_coding_string, encode_coding_string): Use
SCHARS macro.
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.h b/src/coding.h index 450433fda96..3e89ff10421 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -734,11 +734,11 @@ extern void encode_coding_object P_ ((struct coding_system *, | |||
| 734 | 734 | ||
| 735 | 735 | ||
| 736 | #define decode_coding_string(coding, string, nocopy) \ | 736 | #define decode_coding_string(coding, string, nocopy) \ |
| 737 | decode_coding_object (coding, string, 0, 0, XSTRING (string)->size, \ | 737 | decode_coding_object (coding, string, 0, 0, SCHARS (string), \ |
| 738 | STRING_BYTES (XSTRING (string)), Qt) | 738 | STRING_BYTES (XSTRING (string)), Qt) |
| 739 | 739 | ||
| 740 | #define encode_coding_string(coding, string, nocopy) \ | 740 | #define encode_coding_string(coding, string, nocopy) \ |
| 741 | (encode_coding_object (coding, string, 0, 0, XSTRING (string)->size, \ | 741 | (encode_coding_object (coding, string, 0, 0, SCHARS (string), \ |
| 742 | STRING_BYTES (XSTRING (string)), Qt), \ | 742 | STRING_BYTES (XSTRING (string)), Qt), \ |
| 743 | (coding)->dst_object) | 743 | (coding)->dst_object) |
| 744 | 744 | ||