Commit f0bed503 authored by Ken Raeburn's avatar Ken Raeburn

(decode_coding_string, encode_coding_string): Use SBYTES macro.

parent e267324c
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.
......
......@@ -735,11 +735,11 @@ extern void encode_coding_object P_ ((struct coding_system *,
#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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment