[cffi-devel] Re: CFFI defcallback closures?
Luís Oliveira
loliveira at common-lisp.net
Mon Sep 25 10:47:42 UTC 2006
On 9/25/06, Lars Brinkhoff <lars at nocrew.org> wrote:
> Can CFFI defcallbacks be closures, e.g.
>
> (let ((x 42))
> (defcallback foo :int ((y :int))
> (+ x y)))
Unfortunately, last time I checked, not all Lisps support non
top-level DEFCALLBACKs. See:
<http://common-lisp.net/project/cffi/manual/html_node/defcallback.html>
--
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
More information about the cffi-devel
mailing list