[Openmcl-devel] nonglobal ffi callbacks?

Michael Kohout mwkohout at gmail.com
Thu Aug 13 05:01:31 UTC 2009


Hi all-

I've got a problem that is screaming out for scoped ffi callbacks(it's for a
plugin system I'm developing for a web app).  In my gleaning of the docs, I
concluded ccl doesn't appear to support this out of the box.  Is this in
fact the case?  If not, is there any way I can ape it?  I don't care if it's
portable code.

Ideally, what I'd like to end with is something I can wrap in a let:

(let ((somecallback  (define-callback ....)))
            ;;set up, run, and clean up plugin interpreter(lua and python)
);;gc the callback

Thanks for any suggestions.
Mike Kohout
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20090813/d1abf191/attachment.html>


More information about the Openmcl-devel mailing list