changeset 46464:e05dd5b81fc7

(general_insert_function): Insertion function now takes pointer to const for input data.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 16 Jul 2002 19:48:12 +0000
parents 8cdf38364f8d
children 5c56d4068a01
files src/editfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Tue Jul 16 19:48:08 2002 +0000
+++ b/src/editfns.c	Tue Jul 16 19:48:12 2002 +0000
@@ -76,7 +76,7 @@
 static int lisp_time_argument P_ ((Lisp_Object, time_t *, int *));
 static size_t emacs_memftimeu P_ ((char *, size_t, const char *,
 				   size_t, const struct tm *, int));
-static void general_insert_function P_ ((void (*) (unsigned char *, int),
+static void general_insert_function P_ ((void (*) (const unsigned char *, int),
 					 void (*) (Lisp_Object, int, int, int,
 						   int, int),
 					 int, int, Lisp_Object *));
@@ -1901,7 +1901,7 @@
 static void
 general_insert_function (insert_func, insert_from_string_func,
 			 inherit, nargs, args)
-     void (*insert_func) P_ ((unsigned char *, int));
+     void (*insert_func) P_ ((const unsigned char *, int));
      void (*insert_from_string_func) P_ ((Lisp_Object, int, int, int, int, int));
      int inherit, nargs;
      register Lisp_Object *args;