[self-interest] FFI callbacks

ardeujho ardeujho at cd.pn
Thu Mar 13 03:14:31 UTC 2014


Thanks, I took a quick look but couldn't find anything obvious. I can
work around it though using sockets or such.





On Thu, Mar 13, 2014, at 02:40 PM, Nathan Summers wrote:


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" <[1]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 <[2]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?





References

1. mailto:mail at russell-allen.com
2. mailto:ardeujho at cd.pn
3. https://groups.yahoo.com/group/self-interest/post;_ylc=X3oDMTJwZXZkcjNuBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BG1zZ0lkAzMwOTgEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMzk0Njc1NDM4?act=reply&messageNum=3098
4. mailto:rockwalrus at gmail.com?subject=Re%3A%20%5Bself-interest%5D%20FFI%20callbacks
5. mailto:self-interest at yahoogroups.com?subject=Re%3A%20%5Bself-interest%5D%20FFI%20callbacks
6. https://groups.yahoo.com/group/self-interest/post;_ylc=X3oDMTJlNGhpa2syBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTM5NDY3NTQzOA--
7. https://groups.yahoo.com/group/self-interest/message/3096;_ylc=X3oDMTM0NTJvbGVkBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BG1zZ0lkAzMwOTgEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMzk0Njc1NDM4BHRwY0lkAzMwOTY-
8. https://groups.yahoo.com/group/self-interest;_ylc=X3oDMTJlY3NwMmd0BF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTM5NDY3NTQzOA--
9. https://groups.yahoo.com/;_ylc=X3oDMTJkNzN1Z2dhBF9TAzk3NDc2NTkwBGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMzk0Njc1NDM4
  10. https://info.yahoo.com/privacy/us/yahoo/groups/details.html
  11. mailto:self-interest-unsubscribe at yahoogroups.com?subject=Unsubscribe
  12. https://info.yahoo.com/legal/us/yahoo/utos/terms/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20140313/05c13c7c/attachment.html>


More information about the Self-interest mailing list