Re: [Spice-devel] [PATCH spice-common 7/7] codegen: Fix c_type result for TypeAlias

2019-02-20 Thread Frediano Ziglio
> On Mon, Feb 18, 2019 at 04:01:29PM +, Frediano Ziglio wrote: > > c_type() method is supposed to return the type to use for > > C structure field. But the name is not a C type but a > > protocol name. > > Return the type name of the aliased type (for instance > > uint32_t for a uint32 type). >

Re: [Spice-devel] [PATCH spice-common 7/7] codegen: Fix c_type result for TypeAlias

2019-02-20 Thread Christophe Fergeau
On Mon, Feb 18, 2019 at 04:01:29PM +, Frediano Ziglio wrote: > c_type() method is supposed to return the type to use for > C structure field. But the name is not a C type but a > protocol name. > Return the type name of the aliased type (for instance > uint32_t for a uint32 type). > This does n