LibreOfficeKit header files include directives

Sander Maijers s.n.maijers at gmail.com
Sun Feb 11 21:54:09 UTC 2018


What does not work with the iOS modules?


On 11-02-18 21:51, jan iversen wrote:
> Hi
>
> your patch does not work with the iOS modules. I also did a short rust 
> search, and it seems include path is supported:
>
> https://stackoverflow.com/questions/42741815/setting-the-include-path-with-bindgen
>
>
> I recommend not to activate this patch.
>
> RGDS
> Jan I
>
> On Sun, 11 Feb 2018 at 18:04, Sander Maijers <s.n.maijers at gmail.com 
> <mailto:s.n.maijers at gmail.com>> wrote:
>
>     At this revision
>     (https://github.com/LibreOffice/online/tree/341c9dcc96dcf84cadfabcce2c3eabc09c1bf8d1/bundled/include/LibreOfficeKit),
>     I can’t generate bindings for Rust from LibreOfficeKit header
>     files. The
>     reason is that I have no way to specify include paths while the
>     LibreOfficeKit header files assume their sibling header files are
>     to be
>     found in the system include paths, based on the `< >` include
>     directive
>     syntax. I think that’s incorrect since LibreOfficeKit is a unit
>     itself;
>     all header files are supposed to be adjacent in the same directory
>     tree.
>     I found support for my view in this previous discussion
>     (https://lists.freedesktop.org/archives/libreoffice/2017-October/078601.html).
>
>     I propose the attached patch. With it, generating Rust bindings for
>     LibreOfficeKit has been tested to succeed.
>
>     _______________________________________________
>     LibreOffice mailing list
>     LibreOffice at lists.freedesktop.org
>     <mailto:LibreOffice at lists.freedesktop.org>
>     https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
> -- 
> Sent from My iPad, sorry for any misspellings.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180211/80834f66/attachment.html>


More information about the LibreOffice mailing list