more struct madness
Marco Baringer <[email protected]> Tue, 31 Aug 2004 16:33:18 +0200
| Newsgroups | gmane.lisp.uffi.devel |
|---|---|
| Message-ID | <[email protected]> |
so i finally found the time to see if my patches pass the uffi
tests. they don't.
in test/structs.lisp we have:
(uffi:def-struct foo
(bar :pointer-self))
(uffi:def-foreign-type foo-ptr (* foo))
which should be:
(uffi:def-foreign-type foo-ptr (* (:struct foo)))
unless we changed def-struct to define a type name under openmcl, or
don't assume that a def-struct defines an "immediate" type with the
corresponding name.
however, my point is not the the tests fail, my point is that the
patch i wanted to send breaks backwards compatibility as far as the C
struct api goes. i think it would be a really bad idea to break
backwards compatibility (even though there's some uffi code which will
run on openmcl and not on, afaict, allegro). what should i do?
--
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen