Re: [Spice-devel] Use of sized ints

2017-03-06 Thread Frediano Ziglio
> > On 3 Mar 2017, at 13:17, Frediano Ziglio < fzig...@redhat.com > wrote: > > > > We have recently discussed the use of the bool type. What about sized int > > > > > > types? What is the policy here? > > > > > > Notably, on a part of the code I’m presently working on, I saw that > > > > >

Re: [Spice-devel] Use of sized ints

2017-03-03 Thread Christophe de Dinechin
> On 3 Mar 2017, at 13:17, Frediano Ziglio wrote: > >> >> We have recently discussed the use of the bool type. What about sized int >> types? What is the policy here? >> >> Notably, on a part of the code I’m presently working on, I saw that >> surface_id could be either an int or an uint32_t.

Re: [Spice-devel] Use of sized ints

2017-03-03 Thread Frediano Ziglio
> > We have recently discussed the use of the bool type. What about sized int > types? What is the policy here? > > Notably, on a part of the code I’m presently working on, I saw that > surface_id could be either an int or an uint32_t. There is apparently no > clear winner: > > $ git grep "int.*

[Spice-devel] Use of sized ints

2017-03-03 Thread Christophe de Dinechin
We have recently discussed the use of the bool type. What about sized int types? What is the policy here? Notably, on a part of the code I’m presently working on, I saw that surface_id could be either an int or an uint32_t. There is apparently no clear winner: $ git grep "int.*surface_id" | wc