chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f358c6
)
Added reader/writer functions for type integer
author
espen
<espen>
Fri, 12 Nov 2004 11:34:14 +0000
(11:34 +0000)
committer
espen
<espen>
Fri, 12 Nov 2004 11:34:14 +0000
(11:34 +0000)
glib/ffi.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/ffi.lisp
b/glib/ffi.lisp
index 62f4bcc644f4d6881bedc1ab32a64b535813f742..725a76a5f8a7b52980f92e341c3a2557eb62b7d3 100644
(file)
--- 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
;; 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")
(in-package "GLIB")
@@
-392,6
+392,14
@@
(defmethod size-of ((type (eql 'integer)) &rest args)
(declare (ignore type args))
(size-of 'signed-byte))
(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))
(defmethod alien-type ((type (eql 'fixnum)) &rest args)
(declare (ignore type args))