[cffi-devel] Re: unnamed callback (closures?)

Luís Oliveira luismbo at gmail.com
Wed Dec 21 11:30:12 UTC 2005


"Hoehle, Joerg-Cyril" <Joerg-Cyril.Hoehle at t-systems.com> writes:
> In CLISP, every closure can be turned into a callback, and this is
> valuable since it allows to retrieve context information out of the
> closure.  Is cffi's limitation caused by some implementations?

To my knowledge, yes. AFAICT, only SBCL/x86 and CLISP support that.

Regarding the behaviour of CFFI:DEFCALLBACK as a non-toplevel form, not
only will it set it globally, the callback itself won't be generated at
runtime on most Lisp, IIRC.

-- 
Luís Oliveira
luismbo (@) gmail (.) com
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt




More information about the cffi-devel mailing list