<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 2009-09-30, at 11:44 AM, Tony Garnock-Jones wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Scott Brooks wrote:<br><blockquote type="cite">I guess option D is revisiting ruby-ffi and trying to get the pass <br></blockquote><blockquote type="cite">structs by<br></blockquote><blockquote type="cite">value code working, which looks to be the route I'll try and take.<br></blockquote><br>Yep. I'd be *reasonably* happy supporting a parallel API for some of the<br>operations -- but it really only works well for the simple ones<br>(amqp_bytes_t). The complex ones will no doubt require special handling<br>anyway...<br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote>And the Lazyweb wins again. ruby-ffi was updated a few months ago to support</div><div>passing structs by value. Problem solved!</div><div><br></div><div>Thanks for the C-library, chances are once I get the wrapper going with the lastest</div><div>ruby-ffi there will be another ruby amqp library in the mix.</div><div><br></div><div>Scott<br><div><br></div><br><blockquote type="cite"><div>Tony<br>-- <br> [][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211<br> [][] LShift Ltd | Tel: +44 (0)20 7729 7060<br> [] [] <a href="http://www.lshift.net/">http://www.lshift.net/</a> | Email: <a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a><br></div></blockquote></div><br></body></html>