On Thu, Dec 25, 2008 at 3:56 PM, Eli Barzilay <span dir="ltr">&lt;<a href="mailto:eli@barzilay.org">eli@barzilay.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Dec 25, Ben Simon wrote:<br><br>
</div><div class="Ih2E3d">&gt; 2) DrScheme has been crashing nearly constantly since I started<br>
&gt; working on this.</div></blockquote><div>... <br></div><div><br>I wonder if I&#39;m hosing things up because I&#39;m calling mysql_init without an argument. The API says that if the argument is null, it returns back a fresh mysql handle.&nbsp; That&#39;s what I was intending.&nbsp; But, by not explicitly handing in NULL, i may be corrupting matters.<br>
<br>How do I rewrite:<br>&nbsp; (define c-mysql-init (get-ffi-obj&nbsp; &quot;mysql_init&quot; libmysql (_fun -&gt; _handle)))<br>so that the function takes in an explicit NULL?<br><br>Thanks,<br>-Ben<br></div></div><br>-- <br>Have an idea for software? &nbsp;I can make it happen - <a href="http://www.ideas2executables.com">http://www.ideas2executables.com</a><br>
My Blog: <a href="http://benjisimon.blogspot.com">http://benjisimon.blogspot.com</a><br>