<div dir="ltr">Dear CFFI developers!<div><br></div><div>Recently we have migrated one of our largest projects from our home-grown foreign-function interface implementation to CFFI.<br></div><div>The project is almost 1M LOC with almost 1K of foreign-functions.</div><div><br></div><div>Previously, we have inlined all of our foreign-function stubs. We also use FTYPEs through the code for type-safety and optimization.</div><div>Having CFFI functions inlined and FTYPEs generated would spare us from writing those declarations on our own.</div><div><br></div><div>The attached patch contains a proposal that we would like to share.</div><div>Please, let us know about any modification necessary that would make this patch useful for a larger community.</div><div> </div><div>FYI: We have tested the patch against about a hundredth open-source Lisp projects.</div><div><br></div><div>Kindly,</div><div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-family:arial;font-size:small"><span style="color:rgb(0,0,0);font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap">Andrzej Walczak </span></div><div style="font-family:arial;font-size:small"><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap">(</span><span style="color:rgb(0,0,0);font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap"><font color="#0000ff">G</font></span><font color="#ff0000" style="font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap">o</font><font color="#f1c232" style="font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap">o</font><font color="#0000ff" style="font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap">g</font><font color="#38761d" style="font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap">l</font><font color="#ff0000" style="font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap">e</font><span style="color:rgb(0,0,0);font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap">/ITA Software Engineer)</span></div><div><span style="color:rgb(0,0,0);font-family:Arial;font-size:15px;line-height:17.25px;white-space:pre-wrap"><br></span></div></div></div></div>
</div></div>