chiark / gitweb /
Bug fix
authorespen <espen>
Sun, 19 Feb 2006 22:24:37 +0000 (22:24 +0000)
committerespen <espen>
Sun, 19 Feb 2006 22:24:37 +0000 (22:24 +0000)
glib/gobject.lisp

index 24104337abd2491729f7adbd123e502fe9daf63e..267543ae906912abef5bb4e5a798f79ffabb4689 100644 (file)
@@ -20,7 +20,7 @@
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-;; $Id: gobject.lisp,v 1.48 2006/02/19 19:31:14 espen Exp $
+;; $Id: gobject.lisp,v 1.49 2006/02/19 22:24:37 espen Exp $
 
 (in-package "GLIB")
 
@@ -74,12 +74,12 @@   (define-callback toggle-ref-callback nil
        (cache-instance (find-cached-instance location) t)
       (cache-instance (find-cached-instance location) nil)))
 
-  (defbinding %object-add-toggle-ref () pointer
+  (defbinding %object-add-toggle-ref (location) pointer
     (location pointer)
     (toggle-ref-callback callback)
     (nil null))
 
-  (defbinding %object-remove-toggle-ref () pointer
+  (defbinding %object-remove-toggle-ref (location) pointer
     (location pointer)
     (toggle-ref-callback callback)
     (nil null)))
@@ -97,7 +97,7 @@ (progn
   (define-callback weak-ref-callback nil ((data pointer) (location pointer))
     (format t "Object at 0x~8,'0X being finalized~%" (sap-int location)))
   
-  (defbinding %object-weak-ref () pointer
+  (defbinding %object-weak-ref (location) pointer
     (location pointer)
     (weak-ref-callback callback)
     (nil null)))