<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>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.</div><div><br></div><div>Just out of interest which library are you thinking of linking to?</div><div><br></div><div>Russell</div><br><div><div>On 12 Mar 2014, at 10:23 pm, ardeujho <<a href="mailto:ardeujho@cd.pn">ardeujho@cd.pn</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); position: static; z-index: auto;"><div id="ygrp-mlmsg" style="font-size: 13px; font-family: Arial, helvetica, clean, sans-serif; position: relative;"><div id="ygrp-msg" style="line-height: 1.22em; z-index: 1;"><div id="ygrp-text" style="line-height: 1.22em; font-family: Georgia;"><p style="line-height: 1.22em; margin: 0px 0px 1em;">Is it possible to call Self methods from C glue code? I know Self can<br style="line-height: 1.22em;">call C code but I'd like to be able to pass a Self block or object to a<br style="line-height: 1.22em;">C function and have it call it. Is this possible?<br style="line-height: 1.22em;"></p></div><div style="line-height: 1.22em; color: rgb(255, 255, 255); height: 0px;"></div></div></blockquote></div><br></body></html>