[Libosinfo] [libosinfo] build: Don't use private header for gir/vapi generation

Daniel P. Berrange berrange at redhat.com
Tue May 30 09:22:07 UTC 2017


On Tue, May 30, 2017 at 11:20:58AM +0200, Christophe Fergeau wrote:
> Using private headers when generating the gir/vapi files mean that they
> are listing private methods which are not exported by the shared
> library, as well as types which are not present in public headers, and
> not meant to be used by external users.
> 
> This was noticed with recent vala.git as it started erroring out on the
> ProductForeachFlag which is only  defined in osinfo_product_private.h
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1456709
> ---
>  osinfo/Makefile.am | 21 +++++++++++++++------
>  1 file changed, 15 insertions(+), 6 deletions(-)

ACK


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the Libosinfo mailing list