1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

* coding.h (decode_coding_string, encode_coding_string): Use

SCHARS macro.
This commit is contained in:
Ken Raeburn 2009-07-25 07:43:08 +00:00
parent 2baf5e7610
commit 8890e5f53c
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -734,11 +734,11 @@ extern void encode_coding_object P_ ((struct coding_system *,
#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)