Re: [Qemu-devel] [PATCH v6 16/27] qapi: add a dictionary form with 'type' key for members

2018-12-08 Thread Marc-André Lureau
Hi On Thu, Dec 6, 2018 at 7:56 PM Markus Armbruster wrote: > > Marc-André Lureau writes: > > > Wherever a struct/union/alternate/command/event member with NAME: TYPE > > form is accepted, desugar it to a NAME: { 'type': TYPE } form. > > > > This will allow to add new member details, such as

Re: [Qemu-devel] [PATCH v6 16/27] qapi: add a dictionary form with 'type' key for members

2018-12-06 Thread Markus Armbruster
Marc-André Lureau writes: > Wherever a struct/union/alternate/command/event member with NAME: TYPE > form is accepted, desugar it to a NAME: { 'type': TYPE } form. > > This will allow to add new member details, such as 'if' in the > following patch to introduce conditionals, or 'default' for

[Qemu-devel] [PATCH v6 16/27] qapi: add a dictionary form with 'type' key for members

2018-07-06 Thread Marc-André Lureau
Wherever a struct/union/alternate/command/event member with NAME: TYPE form is accepted, desugar it to a NAME: { 'type': TYPE } form. This will allow to add new member details, such as 'if' in the following patch to introduce conditionals, or 'default' for default values etc. Signed-off-by: