[Spice-devel] [PATCH spice-server 3/4] reds-stream: Introduce reds_stream_set_no_delay() helper
Pavel Grunt
pgrunt at redhat.com
Wed Feb 15 14:23:36 UTC 2017
On Wed, 2017-02-15 at 15:16 +0100, Christophe Fergeau wrote:
> On Wed, Feb 15, 2017 at 09:14:10AM -0500, Frediano Ziglio wrote:
> > >
> > > On Wed, Feb 15, 2017 at 06:39:13AM -0500, Frediano Ziglio wrote:
> > > >
> > > > Patch is good however the use of bool is inconsistent.
> > > > Although I _much_ prefer bool/true/false we decided for
> > > > gboolean/TRUE/FALSE.
> > >
> > > reds-stream.[ch] is already exclusively using bool instead of
> > > gboolean,
> > > so I'd prefer to stick with this. I have a patch (series) in
> > > preparation
> > > changing gboolean to bool (with justification), so I would not
> > > change
> > > reds-stream.[ch] just yet.
> > >
> > > Christophe
> > >
> >
> > Can you be at least consistent in server/reds-stream.c ?
> >
> > bool -> true/false
> >
>
> Existing code already uses bool together with TRUE/FALSE, so I would
> keep the discussion about TRUE vs true for another time as well ;)
>
I am against mixing, TRUE&FALSE is gboolean, true&false is bool
imo it is simple: spice server requires C99 => we have stdbool => we
can use it if it has benefits
Pavel
> Christophe
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list