Re: [Qemu-devel] [PATCH for-4.0 v7 00/27] Hi,

2018-12-12 Thread Markus Armbruster
Marc-André Lureau writes: > Hi > > On Wed, Dec 12, 2018 at 9:18 PM Markus Armbruster wrote: >> >> Marc-André Lureau writes: >> >> > This is the second part of the "add #if pre-processor conditions to >> > generated code" series, adding schema member conditions (roughly >> > 16-38/49). >> > >> >

Re: [Qemu-devel] [PATCH for-4.0 v7 00/27] Hi,

2018-12-12 Thread Marc-André Lureau
Hi On Wed, Dec 12, 2018 at 9:18 PM Markus Armbruster wrote: > > Marc-André Lureau writes: > > > This is the second part of the "add #if pre-processor conditions to > > generated code" series, adding schema member conditions (roughly > > 16-38/49). > > > > Members can be exploded as dictionnary w

Re: [Qemu-devel] [PATCH for-4.0 v7 00/27] Hi,

2018-12-12 Thread Markus Armbruster
Marc-André Lureau writes: > This is the second part of the "add #if pre-processor conditions to > generated code" series, adding schema member conditions (roughly > 16-38/49). > > Members can be exploded as dictionnary with 'type'/'if' keys: > > { 'struct': 'TestIfStruct', 'data': > { 'foo': 'i

Re: [Qemu-devel] [PATCH for-4.0 v7 00/27] Hi,

2018-12-08 Thread Marc-André Lureau
Hi, The cover letter title should be "qapi: add #if pre-processor conditions to generated code (part 2)" On Sat, Dec 8, 2018 at 3:16 PM Marc-André Lureau wrote: > > This is the second part of the "add #if pre-processor conditions to > generated code" series, adding schema member conditions (rou

[Qemu-devel] [PATCH for-4.0 v7 00/27] Hi,

2018-12-08 Thread Marc-André Lureau
This is the second part of the "add #if pre-processor conditions to generated code" series, adding schema member conditions (roughly 16-38/49). Members can be exploded as dictionnary with 'type'/'if' keys: { 'struct': 'TestIfStruct', 'data': { 'foo': 'int', 'bar': { 'type': 'int', 'if': 'de