[self-interest] FFI callbacks

Russell Allen mail at russell-allen.com
Thu Mar 13 00:11:39 UTC 2014

Not that I know of, but I haven't investigated the VM enough to be 100% sure. I imagine it would require some sort of OOP pinning so that the object isn't moved by the garbage collector while the foreign code is running.

Just out of interest which library are you thinking of linking to?


On 12 Mar 2014, at 10:23 pm, ardeujho <ardeujho at cd.pn> wrote:

> Is it possible to call Self methods from C glue code? I know Self can
> call C code but I'd like to be able to pass a Self block or object to a
> C function and have it call it. Is this possible?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20140313/4035c42b/attachment.html>

More information about the Self-interest mailing list