diff lisp/gtk-marshal.el @ 2054:91d4c8c65a0f

[xemacs-hg @ 2004-05-02 04:06:51 by malcolmp] Fix warnings and errors when building GTK using C++ and --use-union-type.
author malcolmp
date Sun, 02 May 2004 04:07:01 +0000
parents ee2d33cfc3c1
children f981d2fdd880
line wrap: on
line diff
--- a/lisp/gtk-marshal.el	Sat May 01 21:50:40 2004 +0000
+++ b/lisp/gtk-marshal.el	Sun May 02 04:07:01 2004 +0000
@@ -1,5 +1,8 @@
+;;
+;; To regenerate ../src/emacs-marshals.c just load this file.
+;;
 (defconst name-to-return-type
-  '(("INT" . "guint")
+  '(("INT" . "gint")
     ("CALLBACK" . "GtkCallback")
     ("OBJECT" . "GtkObject *")
     ("POINTER" . "void *")
@@ -26,7 +29,7 @@
     (setq name (get-marshaller-name rval args))
 
     (if (member name defined-marshallers)
-	(error "Attempe to define the same marshaller more than once! %s" name))
+	(error "Attempt to define the same marshaller more than once! %s" name))
 
     (set-buffer (get-buffer-create "emacs-marshals.c"))
     (goto-char (point-max))