![](https://secure.gravatar.com/avatar/9c0ede9a94a934a670c96a955881f439.jpg?s=120&d=mm&r=g)
On Mon, 19 Dec 2005 16:20:19 +0100, "Hoehle, Joerg-Cyril" <Joerg-Cyril.Hoehle@t-systems.com> said:
Jorg> While people certainly appreciate that CFFI provides callbacks (their Jorg> current state in UFFI or Kenny Tilton's hello-c fork is unknown to Jorg> me), I wonder why they apply to named functions only. Jorg> In CLISP, every closure can be turned into a callback, and this is Jorg> valuable since it allows to retrieve context information out of the Jorg> closure. Is cffi's limitation caused by some implementations? What are the garbage collection semantics of these closures? Presumably the GC can't move them, but when can they be collected? -- Martin Simmons Email: martin@lispworks.com LispWorks Ltd, St John's Innovation Centre TEL: +44 1223 421860 Cowley Road, Cambridge CB4 0WS, England. FAX: +44 870 2206189