Re: [Qemu-devel] [RFC PATCH 05/11] qapi: Add visitor for implicit structs

2013-07-11 Thread Eric Blake
On 07/09/2013 03:53 AM, Kevin Wolf wrote: These can be used when an embedded struct is parsed and members not belonging to the struct may be present in the input (parsing flat namespect QMP union with discriminator) namespect? Not sure if you meant 'namespaced'? Again, a comment demonstrating

Re: [Qemu-devel] [RFC PATCH 05/11] qapi: Add visitor for implicit structs

2013-07-11 Thread Eric Blake
On 07/11/2013 06:41 AM, Eric Blake wrote: On 07/09/2013 03:53 AM, Kevin Wolf wrote: These can be used when an embedded struct is parsed and members not belonging to the struct may be present in the input (parsing flat namespect QMP union with discriminator) namespect? Not sure if you meant

[Qemu-devel] [RFC PATCH 05/11] qapi: Add visitor for implicit structs

2013-07-09 Thread Kevin Wolf
These can be used when an embedded struct is parsed and members not belonging to the struct may be present in the input (parsing flat namespect QMP union with discriminator) Signed-off-by: Kevin Wolf kw...@redhat.com --- include/qapi/visitor-impl.h | 4 include/qapi/visitor.h | 3 +++