~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8846218
)
Bug fix
author
espen
<espen>
Wed, 20 Jun 2007 09:49:06 +0000
(09:49 +0000)
committer
espen
<espen>
Wed, 20 Jun 2007 09:49:06 +0000
(09:49 +0000)
gffi/basic-types.lisp
patch
|
blob
|
blame
|
history
diff --git
a/gffi/basic-types.lisp
b/gffi/basic-types.lisp
index
f06e763
..
e5582db
100644
(file)
--- a/
gffi/basic-types.lisp
+++ b/
gffi/basic-types.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: basic-types.lisp,v 1.
8 2007-06-01 06:24:43
espen Exp $
+;; $Id: basic-types.lisp,v 1.
9 2007-06-20 09:49:06
espen Exp $
(in-package "GFFI")
(in-package "GFFI")
@@
-459,7
+459,8
@@
have been written as temporal.")
(define-type-method writer-function ((type single-float) &key temp (inlined t))
(declare (ignore temp))
(assert-inlined type inlined)
(define-type-method writer-function ((type single-float) &key temp (inlined t))
(declare (ignore temp))
(assert-inlined type inlined)
- #'(setf ref-single-float))
+ #'(lambda (number location &optional (offset 0))
+ (setf (ref-single-float location offset) (coerce number 'single-float))))
(define-type-method reader-function ((type single-float) &key ref (inlined t))
(declare (ignore ref))
(define-type-method reader-function ((type single-float) &key ref (inlined t))
(declare (ignore ref))