I am not sure if this change has been accepted into cffi: <br><pre>diff -rN -u old-<b style="color: black; background-color: rgb(255, 255, 102);">cffi</b>/src/<b style="color: black; background-color: rgb(255, 255, 102);">cffi</b>-<b style="color: black; background-color: rgb(255, 255, 102);">ecl</b>.lisp new-<b style="color: black; background-color: rgb(255, 255, 102);">cffi</b>/src/<b style="color: black; background-color: rgb(255, 255, 102);">cffi</b>-<b style="color: black; background-color: rgb(255, 255, 102);">ecl</b>.lisp<br>
--- old-<b style="color: black; background-color: rgb(255, 255, 102);">cffi</b>/src/<b style="color: black; background-color: rgb(255, 255, 102);">cffi</b>-<b style="color: black; background-color: rgb(255, 255, 102);">ecl</b>.lisp 2008-02-02 23:17:14.000000000 +0100<br>
+++ new-<b style="color: black; background-color: rgb(255, 255, 102);">cffi</b>/src/<b style="color: black; background-color: rgb(255, 255, 102);">cffi</b>-<b style="color: black; background-color: rgb(255, 255, 102);">ecl</b>.lisp 2008-02-02 23:17:14.000000000 +0100<br>
@@ -54,6 +54,7 @@<br> #:with-<b style="color: black; background-color: rgb(255, 255, 102);">pointer</b>-to-vector-data<br> #:%defcallback<br> #:%callback<br>+ #:<b style="color: black; background-color: rgb(255, 255, 102);">foreign</b>-<b style="color: black; background-color: rgb(255, 255, 102);">symbol</b>-<b style="color: black; background-color: rgb(255, 255, 102);">pointer</b><br>
#:%<b style="color: black; background-color: rgb(255, 255, 102);">foreign</b>-<b style="color: black; background-color: rgb(255, 255, 102);">symbol</b>-<b style="color: black; background-color: rgb(255, 255, 102);">pointer</b>))<br>
</pre><a href="http://article.gmane.org/gmane.lisp.ecl.general/3342/match=foreign+symbol+pointer+cffi+ecl">http://article.gmane.org/gmane.lisp.ecl.general/3342/match=foreign+symbol+pointer+cffi+ecl</a><br><br>With this change cffi compiles on ecl, but I am having problem accessing callbacks in ecl from c. foreign-funcall works fine from within ecl... <br>
<a href="http://github.com/tinku99/ahklisp/blob?path[]=ecl&path[]=clinit.lisp&raw=true">http://github.com/tinku99/ahklisp/blob?path[]=ecl&path[]=clinit.lisp&raw=true</a><br><br>anyone else have this issue? <br>
<br><br>