chiark / gitweb /
Added :return as argument style in ffi bindings
[clg] / glib / glib.lisp
index d616158a26ab068ad57e68b2fd812272e4b1e8eb..8d080ff42946e45f29d845771c5f64c0cc36669e 100644 (file)
@@ -15,7 +15,7 @@
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: glib.lisp,v 1.16 2004/11/06 21:39:58 espen Exp $
+;; $Id: glib.lisp,v 1.18 2004/11/07 16:03:55 espen Exp $
 
 
 (in-package "GLIB")
@@ -72,7 +72,6 @@ (defun destroy-user-data (id)
   (remhash id *user-data*))
 
 
-
 ;;;; Quarks
 
 (internal *quark-counter* *quark-from-object* *quark-to-object*)
@@ -197,7 +196,7 @@ (defmethod to-alien-form (list (type (eql 'glist)) &rest args)
     `(make-glist ',element-type ,list)))
 
 (defmethod to-alien-function ((type (eql 'glist)) &rest args)
-  (declare (ignore type args))
+  (declare (ignore type))
   (destructuring-bind (element-type) args    
     #'(lambda (list)
        (make-glist element-type list))))
@@ -277,7 +276,7 @@ (defmethod to-alien-form (list (type (eql 'gslist)) &rest args)
     `(make-sglist ',element-type ,list)))
 
 (defmethod to-alien-function ((type (eql 'gslist)) &rest args)
-  (declare (ignore type args))
+  (declare (ignore type))
   (destructuring-bind (element-type) args    
     #'(lambda (list)
        (make-gslist element-type list))))