<div><div dir="auto">Hi</div><div dir="auto"><br></div><div dir="auto">your patch does not work with the iOS modules. I also did a short rust search, and it seems include path is supported:</div><div dir="auto"><br></div><div dir="auto"><div>


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px}
span.s1 {font-family: 'Helvetica'; font-weight: normal; font-style: normal; font-size: 12.00pt}
</style>


<p class="p1"><span class="s1"><a href="https://stackoverflow.com/questions/42741815/setting-the-include-path-with-bindgen">https://stackoverflow.com/questions/42741815/setting-the-include-path-with-bindgen</a></span></p>


</div><br></div><div dir="auto">I recommend not to activate this patch.</div><div dir="auto"><br></div><div dir="auto">RGDS</div><div dir="auto">Jan I</div><br><div class="gmail_quote"><div>On Sun, 11 Feb 2018 at 18:04, Sander Maijers <<a href="mailto:s.n.maijers@gmail.com">s.n.maijers@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At this revision<br>
(<a href="https://github.com/LibreOffice/online/tree/341c9dcc96dcf84cadfabcce2c3eabc09c1bf8d1/bundled/include/LibreOfficeKit" rel="noreferrer" target="_blank">https://github.com/LibreOffice/online/tree/341c9dcc96dcf84cadfabcce2c3eabc09c1bf8d1/bundled/include/LibreOfficeKit</a>),<br>
I can’t generate bindings for Rust from LibreOfficeKit header files. The<br>
reason is that I have no way to specify include paths while the<br>
LibreOfficeKit header files assume their sibling header files are to be<br>
found in the system include paths, based on the `< >` include directive<br>
syntax. I think that’s incorrect since LibreOfficeKit is a unit itself;<br>
all header files are supposed to be adjacent in the same directory tree.<br>
I found support for my view in this previous discussion<br>
(<a href="https://lists.freedesktop.org/archives/libreoffice/2017-October/078601.html" rel="noreferrer" target="_blank">https://lists.freedesktop.org/archives/libreoffice/2017-October/078601.html</a>).<br>
<br>
I propose the attached patch. With it, generating Rust bindings for<br>
LibreOfficeKit has been tested to succeed.<br>
<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature">Sent from My iPad, sorry for any misspellings.</div>