Am 22.09.2012 um 23:18 schrieb Stelian Ionescu: > On Sat, 2012-09-22 at 21:27 +0200, Frank Goenninger wrote: >> >> How do I make functions "known" to C land that are purely defined as >> callbacks in Lisp land? > > You can't do that directly. Lisp callbacks must be passed to the C code > as function pointers. You could write a C wrapper that calls the > callback through a global variable and have the Lisp-side store the > address of the callback in that variable.
Hmm - thanks! I hoped for a far more elegant solution ... Well, it's C after all ... ;-) Regards Frank _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel