changeset 89683:d3302f68a7cf

(charset_table_used): Make it static. (map_charset_chars): Fix args to c_function with.
author Kenichi Handa <handa@m17n.org>
date Mon, 29 Dec 2003 07:51:57 +0000
parents 0747ef3c747c
children d81f2ea4fc8d
files src/charset.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Mon Dec 29 07:51:39 2003 +0000
+++ b/src/charset.c	Mon Dec 29 07:51:57 2003 +0000
@@ -63,7 +63,7 @@
 struct charset *charset_table;
 
 static int charset_table_size;
-int charset_table_used;
+static int charset_table_used;
 
 Lisp_Object Qcharsetp;
 
@@ -583,7 +583,7 @@
 
       range = Fcons (make_number (from_c), make_number (to_c));
       if (NILP (function))
-	(*c_function) (range, arg);
+	(*c_function) (arg, range);
       else
 	call2 (function, range, arg);
     }
@@ -598,7 +598,7 @@
 	    XSETCAR (range, make_number (127));
 
 	  if (NILP (function))
-	    (*c_function) (range, arg);
+	    (*c_function) (arg, range);
 	  else
 	    call2 (function, range, arg);
 	}