> I tried to use the lib in a c++ project but failed because of missing
> #ifdef __cplusplus in the header file pdf.h.
> 
> Pls add
> #ifdef __cplusplus
> extern "C" {
> #endif
> 
> and
> 
> #ifdef __cplusplus
> }
> #endif
> 
> to the headers.
> 
> I did my own but creating a patch (bzr diff -r ancestor:) fails as
> pdf.h is autocreated and not under version control.

The correct way of implementing it, if needed, would be to modify the
pdf.h target in src/Makefile.am, adding more "echo" lines before and
after merging all the per-module headers in a single one.

Cheers,
-Aleksander


Reply via email to