Fix missing G-ERROR foreign type.
authorOlof-Joachim Frahm <olof@macrolet.net>
Thu, 1 Nov 2012 21:17:43 +0000 (22:17 +0100)
committerOlof-Joachim Frahm <olof@macrolet.net>
Thu, 1 Nov 2012 21:17:43 +0000 (22:17 +0100)
glib/glib.gerror.lisp

index 65019c0..9585096 100644 (file)
@@ -4,6 +4,7 @@
   (:domain g-quark)
   (:code :int)
   (:message (:string :free-from-foreign nil)))
+(defctype g-error (:struct g-error))
 
 (defcfun g-error-new-literal :pointer
   (domain g-quark)
@@ -74,4 +75,4 @@
 ;; void                g_propagate_prefixed_error          (GError **dest,
 ;;                                                          GError *src,
 ;;                                                          const gchar *format,
-;;                                                          ...);
\ No newline at end of file
+;;                                                          ...);