[cffi-devel] ecl cffi compilation and callbacks

Naveen Garg naveen.garg at gmail.com
Sun Apr 19 00:03:01 UTC 2009


I am not sure if this change has been accepted into cffi:

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*))

http://article.gmane.org/gmane.lisp.ecl.general/3342/match=foreign+symbol+pointer+cffi+ecl

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...
http://github.com/tinku99/ahklisp/blob?path[]=ecl&path[]=clinit.lisp&raw=true

anyone else have this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20090418/5761fb3c/attachment.html>


More information about the cffi-devel mailing list