changeset 28512:01292435daaf

* coding.h (code_convert_string): Declare. * coding.c (code_convert_string_norecord): Pass an int, not a lisp object, as the fourth argument to code_convert_string.
author Ken Raeburn <raeburn@raeburn.org>
date Sat, 08 Apr 2000 19:34:29 +0000
parents 7a9707590ccd
children 1fec001e68c5
files src/coding.c src/coding.h
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Sat Apr 08 19:33:36 2000 +0000
+++ b/src/coding.c	Sat Apr 08 19:34:29 2000 +0000
@@ -5654,7 +5654,7 @@
 
   coding.composing = COMPOSITION_DISABLED;
   coding.mode |= CODING_MODE_LAST_BLOCK;
-  return code_convert_string (string, &coding, encodep, Qt);
+  return code_convert_string (string, &coding, encodep, 1);
 }
 
 DEFUN ("decode-sjis-char", Fdecode_sjis_char, Sdecode_sjis_char, 1, 1, 0,
--- a/src/coding.h	Sat Apr 08 19:33:36 2000 +0000
+++ b/src/coding.h	Sat Apr 08 19:34:29 2000 +0000
@@ -597,6 +597,8 @@
 extern char *conversion_buffer;
 extern char *get_conversion_buffer P_ ((int));
 extern int setup_coding_system P_ ((Lisp_Object, struct coding_system *));
+extern Lisp_Object code_convert_string P_ ((Lisp_Object,
+					    struct coding_system *, int, int));
 extern void setup_raw_text_coding_system P_ ((struct coding_system *));
 extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index;
 extern Lisp_Object Qraw_text, Qemacs_mule;