<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Thanks, I took a quick look but couldn't find anything obvious. I can work around it though using sockets or such.<br></div>
<div> </div>
<div> </div>
<div>On Thu, Mar 13, 2014, at 02:40 PM, Nathan Summers wrote:<br></div>
<blockquote style="margin: 0px 0px 0px 4px;" type="cite"><div>













 

<span style="display:none"> </span>


<br></div>
<div style="position: relative; font-family: Arial,helvetica,clean,sans-serif; font-size: 13px;"><div style="z-index: 1; line-height: 1.22em;"><div style="font-family: Georgia; line-height: 1.22em;"><p style="margin: 0px 0px 1em; line-height: 1.22em;"><br></p><p style="margin: 0px 0px 1em; line-height: 1.22em;" dir="ltr">The GUI code seems like a likely candidate for needing callbacks. You might want to try inspecting that.<br></p><div style="line-height: 1.22em;"><div>On Mar 12, 2014 8:12 PM, "Russell Allen" <<a style="line-height: 1.22em;" href="mailto:mail@russell-allen.com">mail@russell-allen.com</a>> wrote:<br></div>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); line-height: 1.22em; margin: 0px 0px 0px 4px;">



<u style="line-height: 1.22em;"></u>









 
<div style="line-height: 1.22em;">
<span style="line-height: 1.22em;"> </span>


<div style="line-height: 1.22em;"><div style="line-height: 1.22em;"><div style="line-height: 1.22em;"><p style="margin: 0px 0px 1em; line-height: 1.22em;"><br></p><div style="line-height: 1.22em;">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.<br></div>
<div style="line-height: 1.22em;"> </div>
<div style="line-height: 1.22em;">Just out of interest which library are you thinking of linking to?<br></div>
<div style="line-height: 1.22em;"> </div>
<div style="line-height: 1.22em;">Russell<br></div>
<div> </div>
<div style="line-height: 1.22em;"><div style="line-height: 1.22em;">On 12 Mar 2014, at 10:23 pm, ardeujho <<a style="line-height: 1.22em;" href="mailto:ardeujho@cd.pn" target="_blank">ardeujho@cd.pn</a>> wrote:<br></div>
<div> </div>
<blockquote style="line-height: 1.22em; margin: 0px 0px 0px 4px;" type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; line-height: 1.22em;"><div style="font-size: 13px; font-family: Arial,helvetica,clean,sans-serif; line-height: 1.22em;"><div style="line-height: 1.22em;"><div style="font-family: Georgia; line-height: 1.22em;"><p style="margin: 0px 0px 1em; line-height: 1.22em;">Is it possible to call Self methods from C glue code? I know Self can<br></p><div defang_dir="" class="">call C code but I'd like to be able to pass a Self block or object to a<br></div>
<div defang_dir="" class="">
C function and have it call it. Is this possible?<br></div>
</div>
<div style="color: rgb(255, 255, 255); line-height: 1.22em;"> </div>
</div>
</div>
</div>
</blockquote></div>
<div> </div>
<p style="margin: 0px 0px 1em; line-height: 1.22em;"><br></p></div>
<div style="color: rgb(255, 255, 255); line-height: 1.22em;"> </div>
</div>
</div>
</div>
</blockquote></div>
<p style="margin: 0px 0px 1em; line-height: 1.22em;"><br></p></div>
<div style="color: rgb(255, 255, 255); height: 0px; line-height: 1.22em;"><br></div>
</blockquote></body>
</html>