On Thu, Dec 25, 2008 at 3:56 PM, Eli Barzilay <span dir="ltr"><<a href="mailto:eli@barzilay.org">eli@barzilay.org</a>></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">> 2) DrScheme has been crashing nearly constantly since I started<br>
> working on this.</div></blockquote><div>... <br></div><div><br>I wonder if I'm hosing things up because I'm calling mysql_init without an argument. The API says that if the argument is null, it returns back a fresh mysql handle. That's what I was intending. But, by not explicitly handing in NULL, i may be corrupting matters.<br>
<br>How do I rewrite:<br> (define c-mysql-init (get-ffi-obj "mysql_init" libmysql (_fun -> _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? 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>