[libvirt] [PATCH libvirt-glib 1/3] Add GVirDomainDevice abstract class

Marc-André Lureau mlureau at redhat.com
Thu Nov 10 21:10:32 UTC 2011


Hi

----- Mensaje original -----
> > +G_GNUC_INTERNAL
> > +virDomainPtr gvir_domain_device_get_domain_handle(GVirDomainDevice
> > *self)
> 
> G_GNUC_INTERNAL isn't needed here since it's the default setting for
> symbols not listed in the .sym file.
> 

I think it's better to be explicit about it. It's a way to declare in the code that this function is private, without having to look into the sym file. I wish we could do the same for the rest of the prviate functions.

regards




More information about the libvir-list mailing list