[Spice-devel] [PATCH spice-server] style: Specify boolean style convention

Frediano Ziglio fziglio at redhat.com
Mon Feb 27 12:04:30 UTC 2017


> 
> On Mon, Feb 27, 2017 at 06:36:18AM -0500, Frediano Ziglio wrote:
> > What about:
> > 
> > "style: Change boolean style convention
> > 
> > Was agreed to use C99 syntax for boolean.
> > New code should attempt to follow the new style."
> 
> "Following
> https://lists.freedesktop.org/archives/spice-devel/2017-February/035800.html
> , the consensus was to use 'bool' rather than 'gboolean', and to use
> true/false rather than TRUE/FALSE. New code should attempt to follow the
> new style."
> 
> Christophe
> 

"and to use true/false rather than TRUE/FALSE." is maybe misleading.
Few places where it's another type should stay consistent with the type
(unless I didn't understand).

Frediano


More information about the Spice-devel mailing list