;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: objects.lisp,v 1.4 2002/10/16 11:56:43 kevin Exp $
+;;;; $Id: objects.lisp,v 1.7 2002/12/02 13:21:43 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
#+lispworks
`(fli:allocate-foreign-object :type ',(convert-from-uffi-type type :allocate))
#+allegro
- `(ff:allocate-fobject ,(convert-from-uffi-type type :allocate) :c)
+ `(ff:allocate-fobject ',(convert-from-uffi-type type :allocate) :c)
#+mcl
`(new-ptr ,(size-of-foreign-type (convert-from-uffi-type type :allocation)))
)
#+(or cmu scl) `(alien:deref ,ptr)
#+sbcl `(sb-alien:deref ,ptr)
#+lispworks `(fli:dereference ,ptr)
- #+allegro `(ff:fslot-value-typed ,(convert-from-uffi-type type :deref) :c ,ptr)
+ #+allegro `(ff:fslot-value-typed (quote ,(convert-from-uffi-type type :deref)) :c ,ptr)
#+mcl `(ccl:pref ,ptr ,(convert-from-uffi-type type :deref))
)