aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/coding.c b/src/coding.c
index 2ddd34eb7b6..1c6475828df 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -9516,6 +9516,10 @@ code_convert_string_norecord (Lisp_Object string, Lisp_Object coding_system,
9516} 9516}
9517 9517
9518 9518
9519/* #define ENABLE_UTF_8_CONVERTER_TEST */
9520
9521#ifdef ENABLE_UTF_8_CONVERTER_TEST
9522
9519/* Return the gap address of BUFFER. If the gap size is less than 9523/* Return the gap address of BUFFER. If the gap size is less than
9520 NBYTES, enlarge the gap in advance. */ 9524 NBYTES, enlarge the gap in advance. */
9521 9525
@@ -9618,7 +9622,7 @@ get_char_bytes (int c, int *len)
9618 If the two arguments are Qnil, return Qnil if STRING has a 9622 If the two arguments are Qnil, return Qnil if STRING has a
9619 non-Unicode character. */ 9623 non-Unicode character. */
9620 9624
9621Lisp_Object 9625static Lisp_Object
9622encode_string_utf_8 (Lisp_Object string, Lisp_Object buffer, 9626encode_string_utf_8 (Lisp_Object string, Lisp_Object buffer,
9623 bool nocopy, Lisp_Object handle_8_bit, 9627 bool nocopy, Lisp_Object handle_8_bit,
9624 Lisp_Object handle_over_uni) 9628 Lisp_Object handle_over_uni)
@@ -9873,7 +9877,7 @@ encode_string_utf_8 (Lisp_Object string, Lisp_Object buffer,
9873 If the two arguments are Qnil, return Qnil if STRING has an invalid 9877 If the two arguments are Qnil, return Qnil if STRING has an invalid
9874 sequence. */ 9878 sequence. */
9875 9879
9876Lisp_Object 9880static Lisp_Object
9877decode_string_utf_8 (Lisp_Object string, Lisp_Object buffer, 9881decode_string_utf_8 (Lisp_Object string, Lisp_Object buffer,
9878 bool nocopy, Lisp_Object handle_8_bit, 9882 bool nocopy, Lisp_Object handle_8_bit,
9879 Lisp_Object handle_over_uni) 9883 Lisp_Object handle_over_uni)
@@ -10111,10 +10115,6 @@ decode_string_utf_8 (Lisp_Object string, Lisp_Object buffer,
10111 return val; 10115 return val;
10112} 10116}
10113 10117
10114/* #define ENABLE_UTF_8_CONVERTER_TEST */
10115
10116#ifdef ENABLE_UTF_8_CONVERTER_TEST
10117
10118/* These functions are useful for testing and benchmarking 10118/* These functions are useful for testing and benchmarking
10119 encode_string_utf_8 and decode_string_utf_8. */ 10119 encode_string_utf_8 and decode_string_utf_8. */
10120 10120