X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Faggregates.cl;h=bf163c892a254c4d76a8b20ba20488814cfd7685;hb=d088e362ddd9bdd99c2d1815ab87c5328cdc92a3;hp=b0438d9a4c501e9756b3113ae71e2d7ce1f50479;hpb=bd00c8ed506689d49306569634294446e0a017e5;p=uffi.git diff --git a/src/aggregates.cl b/src/aggregates.cl index b0438d9..bf163c8 100644 --- a/src/aggregates.cl +++ b/src/aggregates.cl @@ -9,7 +9,7 @@ ;;;; ;;;; Copyright (c) 2002 Kevin M. Rosenberg ;;;; -;;;; $Id: aggregates.cl,v 1.1 2002/03/09 19:55:33 kevin Exp $ +;;;; $Id: aggregates.cl,v 1.2 2002/03/10 11:13:07 kevin Exp $ ;;;; ;;;; This file is part of the UFFI. ;;;; @@ -62,7 +62,7 @@ of the enum-name name, separator-string, and field-name" (defmacro def-array (name-array type) #+allegro `(ff:def-foreign-type ,name-array - (:struct (:my-field (:array ,(convert-from-uffi-type type :array))))) + (:array ,(convert-from-uffi-type type :array))) #+lispworks `(fli:define-c-typedef ,name-array (:pointer (:pointer ,(convert-from-uffi-type type :array)))) @@ -120,7 +120,7 @@ of the enum-name name, separator-string, and field-name" #+(or lispworks cmu) (declare (ignore type)) #+cmu `(alien:deref ,obj ,i) #+lispworks `(fli:dereference ,obj :index ,i) - #+allegro `(ff:fslot-value-typed ,type :c ,obj ':my-field ,i) + #+allegro `(ff:fslot-value-typed ,type :c ,obj ,i) )