[self-interest] FFI callbacks

Nathan Summers rockwalrus at gmail.com
Thu Mar 13 01:40:21 UTC 2014


The GUI code seems like a likely candidate for needing callbacks. You might
want to try inspecting that.
On Mar 12, 2014 8:12 PM, "Russell Allen" <mail at russell-allen.com> wrote:

>
>
> 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?
>
> Russell
>
> 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/20140312/8a838255/attachment.html>


More information about the Self-interest mailing list