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:
c96779a
)
Added missing type methods
author
espen
<espen>
Fri, 3 Mar 2006 20:31:24 +0000
(20:31 +0000)
committer
espen
<espen>
Fri, 3 Mar 2006 20:31:24 +0000
(20:31 +0000)
glib/ffi.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/ffi.lisp
b/glib/ffi.lisp
index 8d5b09855ef43e0dc8e2a08b50e166607b1639b8..7fe85aba732d8017e05aad32584949841eb06922 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.
29 2006-03-03 19:10:21
espen Exp $
+;; $Id: ffi.lisp,v 1.
30 2006-03-03 20:31:24
espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-1056,6
+1056,15
@@
(define-type-method from-alien-form ((type copy-of) form)
(define-type-method from-alien-function ((type copy-of))
(copy-from-alien-function (second (type-expand-to 'copy-of type))))
(define-type-method from-alien-function ((type copy-of))
(copy-from-alien-function (second (type-expand-to 'copy-of type))))
+(define-type-method cleanup-function ((type copy-of))
+ (declare (ignore type))
+ #'identity)
+
+(define-type-method destroy-function ((type copy-of))
+ (declare (ignore type))
+ #'(lambda (location &optional offset)
+ (declare (ignore location offset))))
+
(define-type-method alien-type ((type callback))
(declare (ignore type))
(define-type-method alien-type ((type callback))
(declare (ignore type))