LibreOfficeKit header files include directives
Sander Maijers
s.n.maijers at gmail.com
Sun Feb 11 17:04:26 UTC 2018
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libreofficekit_non_system_header_files.patch
Type: text/x-patch
Size: 1747 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180211/d381b46f/attachment.bin>
More information about the LibreOffice
mailing list