From fd6b1f125ea01028d30dc931c516a7b52c267936 Mon Sep 17 00:00:00 2001 From: Dmitry Kalyanov Date: Thu, 29 Oct 2009 15:30:36 +0300 Subject: [PATCH] Correct type of pointer slot of g-object: release will set it to NIL --- glib/gobject.object.high.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gobject.object.high.lisp b/glib/gobject.object.high.lisp index 80399b8..f1cca2e 100644 --- a/glib/gobject.object.high.lisp +++ b/glib/gobject.object.high.lisp @@ -2,7 +2,7 @@ (defclass g-object () ((pointer - :type cffi:foreign-pointer + :type (or null cffi:foreign-pointer) :initarg :pointer :accessor pointer :initform nil) -- 1.7.10.4