projects
/
uffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e1e363
)
r3705: revert changes
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Mon, 30 Dec 2002 20:49:12 +0000
(20:49 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Mon, 30 Dec 2002 20:49:12 +0000
(20:49 +0000)
src/objects.lisp
patch
|
blob
|
history
diff --git
a/src/objects.lisp
b/src/objects.lisp
index 740b684b408becfd832a0480e4ffbdffa513139c..0881539df370794a00977ca1601fac4212e6caaf 100644
(file)
--- a/
src/objects.lisp
+++ b/
src/objects.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: objects.lisp,v 1.
9 2002/12/30 20:39:2
2 kevin Exp $
+;;;; $Id: objects.lisp,v 1.
10 2002/12/30 20:49:1
2 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-44,11
+44,11
@@
an array of TYPE with size SIZE. The TYPE parameter is evaluated."
#+sbcl
`(sb-alien:make-alien ,(convert-from-uffi-type (eval type) :allocation))
#+lispworks
#+sbcl
`(sb-alien:make-alien ,(convert-from-uffi-type (eval type) :allocation))
#+lispworks
- `(fli:allocate-foreign-object :type ',(convert-from-uffi-type
(eval type)
:allocate))
+ `(fli:allocate-foreign-object :type ',(convert-from-uffi-type
type
:allocate))
#+allegro
#+allegro
- `(ff:allocate-fobject ',(convert-from-uffi-type
(eval type)
:allocate) :c)
+ `(ff:allocate-fobject ',(convert-from-uffi-type
type
:allocate) :c)
#+mcl
#+mcl
- `(new-ptr ,(size-of-foreign-type (convert-from-uffi-type
(eval type)
:allocation)))
+ `(new-ptr ,(size-of-foreign-type (convert-from-uffi-type
type
:allocation)))
)
(progn
#+(or cmu scl)
)
(progn
#+(or cmu scl)
@@
-56,11
+56,11
@@
an array of TYPE with size SIZE. The TYPE parameter is evaluated."
#+sbcl
`(sb-alien:make-alien ,(convert-from-uffi-type (eval type) :allocation) ,size)
#+lispworks
#+sbcl
`(sb-alien:make-alien ,(convert-from-uffi-type (eval type) :allocation) ,size)
#+lispworks
- `(fli:allocate-foreign-object :type ',(convert-from-uffi-type
(eval type)
:allocate) :nelems ,size)
+ `(fli:allocate-foreign-object :type ',(convert-from-uffi-type
type
:allocate) :nelems ,size)
#+allegro
#+allegro
- `(ff:allocate-fobject (list :array (quote ,(convert-from-uffi-type
(eval type)
:allocate)) ,size) :c)
+ `(ff:allocate-fobject (list :array (quote ,(convert-from-uffi-type
type
:allocate)) ,size) :c)
#+mcl
#+mcl
- `(new-ptr (* ,size ,(size-of-foreign-type (convert-from-uffi-type
(eval type)
:allocation))))
+ `(new-ptr (* ,size ,(size-of-foreign-type (convert-from-uffi-type
type
:allocation))))
)))
(defmacro free-foreign-object (obj)
)))
(defmacro free-foreign-object (obj)