(print_string): Now static.
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Jan 1998 17:29:16 +0000 (17:29 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Jan 1998 17:29:16 +0000 (17:29 +0000)
commitdc2a0b79d63fd55cdc4289c78d0e692a9d5b5dbf
tree92d01529b69c6c8c23af54ddd9f488676d5000c3
parentfc4126860550e4e8f95e8e6e4bb5e953b1bca84a
(print_string): Now static.
(print): When multibyte is disabled,
print multibyte string chars using hex escapes.

(printchar): Pass new arg to message_dolog.
(strout): New arg MULTIBYTE.  Callers changed.

(strout): Take args SIZE and SIZE_BYTE;
operate on both chars and bytes.
(print_string): Pass new arg to strout.
If not using strout, fetch a whole multibyte char at once.
(write_string): Pass new arg to strout.
(write_string_1): Likewise.
(print) <case Lisp_String>: Scan by chars and bytes.
(print) <case Lisp_Symbol>: Scan name by chars and bytes.

(PRINTPREPARE): Use make_multibyte_string.
Initialize print_buffer_pos_byte.  Use insert_1_both.
(printchar): Update print_buffer_pos_byte and print_buffer_pos.
(print_buffer_pos_byte): New variable.
src/print.c