Sorry I did not mean to discredit anyone. I just noticed once before on your site under software autoffi or some such.<br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 11:01 AM, James Long <span dir="ltr"><<a href="mailto:longster@gmail.com">longster@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Tue, Nov 10, 2009 at 1:48 PM, Pavel Dudrenov <<a href="mailto:dudrenov@gmail.com">dudrenov@gmail.com</a>> wrote:<br>

> I think that James Long was working on some automatic ffi generating code.<br>
> Maybe you can take a look at his code and see what he is doing and extract<br>
> things relevant to you. Or just use what he has.<br>
<br>
Yeah, I worked on it.  So did Jeremie and Christian, and a few others.<br>
 I wrote "autoffi" which is just a prototype which tries to use SILex<br>
to parse C code.  This code isn't maintained but hopefully still<br>
works.  Pulling out definitions should be achievable.<br>
<br>
<a href="http://github.com/jlongster/autoffi" target="_blank">http://github.com/jlongster/autoffi</a><br>
<br>
Jeremie wrote a different program which I think used SWIG to parse C code.<br>
<br>
<a href="http://github.com/jlongster/gambit-ffi-generator" target="_blank">http://github.com/jlongster/gambit-ffi-generator</a><br>
<br>
Pulling out definitions is probably the easiest job for automatic FFI<br>
generation.  Hopefully you can get something to work from either of<br>
these projects.<br>
<font color="#888888"><br>
- James<br>
</font></blockquote></div><br>