[Ecls-list] DFFI on x86_64
marco.gidde at tiscali.de
Mon Feb 5 18:21:41 UTC 2007
recently I tried to build a lisp wrapper around a C-library with CFFI
and got some strange crashes with ECL. The appended patch is probably
not quite correct but works here and should give you an idea of what
is still missing.
Another issue occurred when I tried callbacks with an ECL built with
the --with-cxx option (also via CFFI). While C allows to cast a void*
to any kind of function pointer, C++ doesn't. Maybe a reinterpret_cast
in the generated C-code might help, but I'm not sure and haven't
testet this. For now I can live with the old-fashioned C-ECL :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1190 bytes
More information about the ecl-devel