I can't seem to get CFFI callbacks working properly under ECL. Attached
is an extremely trivial example. I have had a little probe into it, and
the problem seems to be the callback is not registered such that
SI:GET-SYSPROP can find it.
Am I doing something wrong? Is this an ECL bug? Is this a CFFI bug?
From: Juan Jose Garcia-Ripoll <jjgarcia@us...> - 2008-02-02 22:35:41
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.
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 @@
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)