[Ecls-list] FFI callbacks issue via CFFI
Juan Jose Garcia-Ripoll
jjgarcia at users.sourceforge.net
Sat Feb 2 22:35:30 UTC 2008
Hi William,
I had no problem running your example from a FASL. Well the real
problem is that CFFI is broken (I got it from
http://common-lisp.net/project/cffi/darcs/cffi ) and you have to
change cffi-ecl.lisp as shown below, because otherwise it complains
that it cannot find.
However, the real problem seems to be when you use CFFI and MAKE-BUILD
to create a program. I am still investigating this.
Juanjo
diff -rN -u old-cffi/src/cffi-ecl.lisp new-cffi/src/cffi-ecl.lisp
--- old-cffi/src/cffi-ecl.lisp 2008-02-02 23:17:14.000000000 +0100
+++ new-cffi/src/cffi-ecl.lisp 2008-02-02 23:17:14.000000000 +0100
@@ -54,6 +54,7 @@
#:with-pointer-to-vector-data
#:%defcallback
#:%callback
+ #:foreign-symbol-pointer
#:%foreign-symbol-pointer))
(in-package #:cffi-sys)
--
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