projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r2184: *** empty log message ***
[uffi.git]
/
src
/
aggregates.cl
diff --git
a/src/aggregates.cl
b/src/aggregates.cl
index 06dca81fe691b5fde374bc25abecf846db839c5e..d43ff1d825c3befa8fca12379ec2a1a6194ac379 100644
(file)
--- a/
src/aggregates.cl
+++ b/
src/aggregates.cl
@@
-1,4
+1,4
@@
-;;;; -*- Mode:
ANSI-Lisp; Syntax: ANSI-Common-Lisp; Base: 10
-*-
+;;;; -*- Mode:
Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: UFFI
-*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; 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.
10 2002/04/06 19:53:08
kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; 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))
cmds))
-(defmacro def-array (name-array type)
+(defmacro def-array
-pointer
(name-array type)
#+allegro
`(ff:def-foreign-type ,name-array
#+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
#+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
#+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)
)
(defun process-struct-fields (name fields)