2009-08-10 Ken Raeburn <raeburn@raeburn.org>
+ * coding.h (decode_coding_string, encode_coding_string): Use
+ SBYTES macro.
+
* doprnt.c (doprnt_lisp): Unused function deleted.
(doprnt): Merge with doprnt1, discarding lispstrings code.
* lisp.h (doprnt_lisp): Don't declare.
#define decode_coding_string(coding, string, nocopy) \
decode_coding_object (coding, string, 0, 0, SCHARS (string), \
- STRING_BYTES (XSTRING (string)), Qt)
+ SBYTES (string), Qt)
#define encode_coding_string(coding, string, nocopy) \
(encode_coding_object (coding, string, 0, 0, SCHARS (string), \
- STRING_BYTES (XSTRING (string)), Qt), \
+ SBYTES (string), Qt), \
(coding)->dst_object)