ffigen -> uffi
Marco Baringer <mb <at> bese.it>
2004-08-20 09:34:42 GMT
attached is a small lisp library which parser ffigen's outut and
generates the corresponding uffi lisp code. currently this is ppc
specific since (afaik) ffigen only runs on ppc, but since the uffi
stuff is, well, universal, it should be possible to generate the uffi
interface once on a mac and distribute to other systems.
it's not perfect (some of the type conversion stuff is admitedly
wrong), it's only been tested on OpenMCL, it may make your computer
explode, etc. that said, it's good enough to build a working uffi
definition for icu 3.0.
p.s. - so, who's going to port ffigen to linux and windows? :)
--
--
-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
_______________________________________________
Clump mailing list
Clump <at> caddr.com
(Continue reading)