X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/3840beb25c5aefcb3b8b1d101b50d6f8dd90b6f0..21f6214a2c77cbdca88a2e3d5e03bc5afb659ef2:/glib/ffi.lisp?ds=sidebyside diff --git a/glib/ffi.lisp b/glib/ffi.lisp index 7580646..925eaf8 100644 --- a/glib/ffi.lisp +++ b/glib/ffi.lisp @@ -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: ffi.lisp,v 1.4 2004-11-09 10:04:35 espen Exp $ +;; $Id: ffi.lisp,v 1.5 2004-11-12 11:34:14 espen Exp $ (in-package "GLIB") @@ -392,6 +392,14 @@ (declare (ignore type args)) (size-of 'signed-byte)) +(defmethod writer-function ((type (eql 'integer)) &rest args) + (declare (ignore type args)) + (writer-function 'signed-byte)) + +(defmethod reader-function ((type (eql 'integer)) &rest args) + (declare (ignore type args)) + (reader-function 'signed-byte)) + (defmethod alien-type ((type (eql 'fixnum)) &rest args) (declare (ignore type args))