X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Faggregates.lisp;h=255e226ea70e86574daab2166954577499a1d6af;hb=ac9eafca18c6a684c2a7ed3c353c5eeac3456849;hp=523bd4f72983eadee80b0aa91ef86c6e3bae09ca;hpb=1bcafc58d13681d25f0576eabb33f9232dd373ae;p=uffi.git diff --git a/src/aggregates.lisp b/src/aggregates.lisp index 523bd4f..255e226 100644 --- a/src/aggregates.lisp +++ b/src/aggregates.lisp @@ -159,9 +159,9 @@ of the enum-name name, separator-string, and field-name" (defmacro deref-array (obj type i) "Returns a field from a row" - #+(or lispworks cmu sbcl scl) (declare (ignore type)) - #+(or cmu scl) `(alien:deref ,obj ,i) - #+sbcl `(sb-alien:deref ,obj ,i) + #+(or lispworks scl) (declare (ignore type)) + #+(or cmu scl) `(alien:deref (the (alien:alien ,(convert-from-uffi-type type :declare)) ,obj) ,i) + #+sbcl `(sb-alien:deref (the (sb-alien:alien ,(convert-from-uffi-type type :declare)) ,obj) ,i) #+lispworks `(fli:dereference ,obj :index ,i :copy-foreign-object nil) #+allegro `(ff:fslot-value-typed (quote ,(convert-from-uffi-type type :type)) :c ,obj ,i) #+openmcl