Marco Gidde | 5 Feb 19:21 2007
Picon

DFFI on x86_64

Hello Juanjo,

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 :-)

Regards,

Marco

Attachment (ecl.diff): text/x-patch, 1190 bytes
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list

Gmane