[Ecls-list] MSVC FFI problems
Juan Jose Garcia-Ripoll
jjgarcia at users.sourceforge.net
Sun Dec 30 09:53:10 UTC 2007
On Dec 30, 2007 10:42 AM, Juan Jose Garcia-Ripoll
<jjgarcia at users.sourceforge.net> wrote:
> I assume you are using the compiled version of the FFI (that is
> *use-dffi* = nil) Then you have to provide ECL with a C header with
> the right declarations. This redundancy is used to ensure things
> compile fine, as it is not always enough with the information that
> UFFI supplies. At the top of your lisp file, just add
> #+ecl (ffi::c-lines "#include \"ffi_test.h\"")
> where ffi_test.h is the header for your foreign file containing all
> function declarations you may need.
Sorry, it should read clines not c-lines. I always mix them up. The
manual page is here
http://ecls.sourceforge.net/new-manual/re11.html
Juanjo
--
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com
More information about the ecl-devel
mailing list