Mercurial > emacs
changeset 104060:eaf56f321ac0
* coding.h (decode_coding_string, encode_coding_string): Use
SCHARS macro.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Sat, 25 Jul 2009 07:43:08 +0000 |
parents | 3750eeb20ab9 |
children | 2d3b4a4eb35a |
files | src/ChangeLog src/coding.h |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Sat Jul 25 07:36:17 2009 +0000 +++ b/src/ChangeLog Sat Jul 25 07:43:08 2009 +0000 @@ -1,5 +1,8 @@ 2009-07-25 Ken Raeburn <raeburn@raeburn.org> + * coding.h (decode_coding_string, encode_coding_string): Use + SCHARS macro. + * lread.c: Rewrite 2009-07-21 changes. (load_depth): Deleted. (Qload_in_progress): New variable.
--- a/src/coding.h Sat Jul 25 07:36:17 2009 +0000 +++ b/src/coding.h Sat Jul 25 07:43:08 2009 +0000 @@ -734,11 +734,11 @@ #define decode_coding_string(coding, string, nocopy) \ - decode_coding_object (coding, string, 0, 0, XSTRING (string)->size, \ + decode_coding_object (coding, string, 0, 0, SCHARS (string), \ STRING_BYTES (XSTRING (string)), Qt) #define encode_coding_string(coding, string, nocopy) \ - (encode_coding_object (coding, string, 0, 0, XSTRING (string)->size, \ + (encode_coding_object (coding, string, 0, 0, SCHARS (string), \ STRING_BYTES (XSTRING (string)), Qt), \ (coding)->dst_object)