[Openmcl-devel] Objc typedef mappings

todd ingalls testcase at asu.edu
Sun Jan 23 21:38:59 UTC 2005


Hello,
I have a quick question. Is it possible to use def-foreign-type to 
either make an array of a user defined type or use another user defined 
type in another struct definition. For example, the following doesn't 
work. Should it? Is there another way to do this?


(def-foreign-type nil (:struct foobar (a :double-float) (b (:signed 
32))))

(def-foreign-type foobar-array-4 (:array :foobar 4))

=> Unknown foreign type: FOOBAR


-------

(def-foreign-type nil (:struct foobar (a :double-float) (b (:signed 
32))))			
(def-foreign-type nil (:struct baz (c (:unsigned 32)) (d :foobar)))

=> Unknown foreign type: FOOBAR


Thanks for any help.





Todd Ingalls
Assistant Research Professor
Arts, Media and Engineering Program
Arizona State University
http://ame2.asu.edu/faculty/todd




More information about the Openmcl-devel mailing list