[libvirt] [PATCH 00/35] Use more of GLib's macros
Andrea Bolognani
abologna at redhat.com
Tue Oct 15 10:45:51 UTC 2019
On Tue, 2019-10-15 at 10:53 +0200, Ján Tomko wrote:
> On Tue, Oct 15, 2019 at 10:40:35AM +0200, Michal Privoznik wrote:
> > I've identified other macros of ours that might be worth converting too:
> >
> > ATTRIBUTE_FALLTHROUGH
>
> G_GNUC_FALLTHROUGH was introduced in GLib 2.60 so not yet
>
> > ATTRIBUTE_NOINLINE
>
> G_GNUC_NO_INLINE was introduced by GLib 2.58
We should convert our code to use the GLib variant, and define it
ourself when it's not present; once our minimum required GLib version
has been increased appropriately, we can simply drop our definitions.
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list