(defmacro deref-array (obj type i)
"Returns a field from a row"
- #+(or lispworks scl) (declare (ignore type))
- #+(or cmu scl) `(alien:deref
- (alien:cast
- ,obj
- ,(convert-from-uffi-type type :declare)) ,i)
- #+sbcl `(sb-alien:deref
- (sb-alien:cast
- ,obj
- ,(convert-from-uffi-type type :declare)) ,i)
+ #+(or lispworks cmu sbcl scl) (declare (ignore type))
+ #+(or cmu scl) `(alien:deref ,obj ,i)
+ #+sbcl `(sb-alien:deref ,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