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:
4c50283
)
New type method WEAK-READER-FUNCTION
author
espen
<espen>
Mon, 6 Feb 2006 11:49:50 +0000
(11:49 +0000)
committer
espen
<espen>
Mon, 6 Feb 2006 11:49:50 +0000
(11:49 +0000)
glib/ffi.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/ffi.lisp
b/glib/ffi.lisp
index 17d68cafdcf708698baca65ffe2485f9919923b9..d725fa9e36be9e91375139fac155948f60b65a89 100644
(file)
--- a/
glib/ffi.lisp
+++ b/
glib/ffi.lisp
@@
-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.
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-;; $Id: ffi.lisp,v 1.2
1 2005/09/26 21:27:31
espen Exp $
+;; $Id: ffi.lisp,v 1.2
2 2006/02/06 11:49:50
espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-271,6
+271,7
@@
(def-type-method copy-from-alien-function ())
(def-type-method writer-function ())
(def-type-method reader-function ())
(def-type-method writer-function ())
(def-type-method reader-function ())
+(def-type-method weak-reader-function ())
(def-type-method destroy-function ())
(def-type-method unbound-value ()
(def-type-method destroy-function ())
(def-type-method unbound-value ()
@@
-347,6
+348,9
@@
(defmethod copy-from-alien-form (form (type t) &rest args)
(defmethod copy-from-alien-function ((type t) &rest args)
(apply #'from-alien-function type args))
(defmethod copy-from-alien-function ((type t) &rest args)
(apply #'from-alien-function type args))
+(defmethod weak-reader-function ((type symbol) &rest args)
+ (apply #'reader-function type args))
+
(defmethod alien-type ((type (eql 'signed-byte)) &rest args)
(declare (ignore type))
(defmethod alien-type ((type (eql 'signed-byte)) &rest args)
(declare (ignore type))