X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Faggregates.cl;h=3fc32a34f093a2096ae06ce2779f5b4c778e42a6;hb=ca7e9a2299773cfbc927d71e6289549601438b24;hp=06dca81fe691b5fde374bc25abecf846db839c5e;hpb=01a6946b2543ade1bfd5672ca92827da7e56bf85;p=uffi.git diff --git a/src/aggregates.cl b/src/aggregates.cl index 06dca81..3fc32a3 100644 --- a/src/aggregates.cl +++ b/src/aggregates.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: aggregates.cl,v 1.7 2002/03/21 07:56:45 kevin Exp $ +;;;; $Id: aggregates.cl,v 1.8 2002/03/23 12:58:12 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -49,16 +49,16 @@ of the enum-name name, separator-string, and field-name" cmds)) -(defmacro def-array (name-array type) +(defmacro def-array-pointer (name-array type) #+allegro `(ff:def-foreign-type ,name-array - (: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)))) + (:c-array ,(convert-from-uffi-type type :array))) #+cmu `(alien:def-alien-type ,name-array - (* ,(convert-from-uffi-type type :array))) + (* ,(convert-from-uffi-type type :array))) ) (defun process-struct-fields (name fields)