mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
* coding.h (decode_coding_string, encode_coding_string): Use
SCHARS macro.
This commit is contained in:
parent
2baf5e7610
commit
8890e5f53c
2 changed files with 5 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue