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.
#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)