diff options
| author | Ken Raeburn | 2009-08-10 00:56:00 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2009-08-10 00:56:00 +0000 |
| commit | f0bed503c49017428a416fcf464e0a2216880498 (patch) | |
| tree | 9f028e26b6920fc008a16e1abf05826743e73feb /src/coding.h | |
| parent | e267324c1cc5853954a2df0d23c62ca9c28b1516 (diff) | |
| download | emacs-f0bed503c49017428a416fcf464e0a2216880498.tar.gz emacs-f0bed503c49017428a416fcf464e0a2216880498.zip | |
(decode_coding_string, encode_coding_string): Use SBYTES 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 3e89ff10421..27bc8333c6d 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -735,11 +735,11 @@ extern void encode_coding_object P_ ((struct coding_system *, | |||
| 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, SCHARS (string), \ | 737 | decode_coding_object (coding, string, 0, 0, SCHARS (string), \ |
| 738 | STRING_BYTES (XSTRING (string)), Qt) | 738 | SBYTES (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, SCHARS (string), \ | 741 | (encode_coding_object (coding, string, 0, 0, SCHARS (string), \ |
| 742 | STRING_BYTES (XSTRING (string)), Qt), \ | 742 | SBYTES (string), Qt), \ |
| 743 | (coding)->dst_object) | 743 | (coding)->dst_object) |
| 744 | 744 | ||
| 745 | 745 | ||