Re: [PATCH 1/1] all: add C99's "bool" define and encourage its use

2015-11-18 Thread Thomas Haller
Merged the patch to master: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=37824def11c2c7947103ae668ec487bc90c10c35 Thomas signature.asc Description: This is a digitally signed message part ___ networkmanager-list mailing list ne

Re: [PATCH 1/1] all: add C99's "bool" define and encourage its use

2015-11-12 Thread Thomas Haller
On Wed, 2015-11-11 at 11:00 -0600, Dan Williams wrote: > On Wed, 2015-11-11 at 13:33 +0100, Thomas Haller wrote: > > --- > >  Let's use bool. > > > >  Comments? > > Since glib uses gboolean in quite a few places, would we have > problems > with casting it to gboolean if needed?  Casting would be

Re: [PATCH 1/1] all: add C99's "bool" define and encourage its use

2015-11-11 Thread Dan Williams
On Wed, 2015-11-11 at 13:33 +0100, Thomas Haller wrote: > --- > Let's use bool. > > Comments? Since glib uses gboolean in quite a few places, would we have problems with casting it to gboolean if needed? Casting would be pretty ugly if we had to do it a bunch. Also, I don't think we'd save an

[PATCH 1/1] all: add C99's "bool" define and encourage its use

2015-11-11 Thread Thomas Haller
--- Let's use bool. Comments? Thomas include/nm-default.h | 46 ++ 1 file changed, 46 insertions(+) diff --git a/include/nm-default.h b/include/nm-default.h index d5c9d10..dc02763 100644 --- a/include/nm-default.h +++ b/include/nm-default.h @@ -70