[Ecls-list] Problem with FFI:CLINES

Goffioul Michael goffioul at imec.be
Thu Sep 8 01:23:10 UTC 2005


Compared to previous behavior, strings declared with CLINES are now put
at the beginning of the header file, instead of inlined in the C file.
This is a potential problem because these lines are put before declaration
of the LISP functions defined in the file-to-compile.

A concrete example is in win32.lisp, where the WndProc_proxy function make
use of the LISP function win32_wndproc_proxy. However win32_wndproc_proxy
is declared afterwards with a different linkage, resultnig in a compilation
error.

Would it be a problem to put the CLINES after the function declaration instead
of before?

Michael.




More information about the ecl-devel mailing list