qemu-e2k/scripts/qapi
Marc-André Lureau 8ee06f61e1 qapi: Add #if conditions to generated code members
Wrap generated enum and struct members and their supporting code with
#if/#endif, using the .ifcond members added in the previous patches.

We do enum and struct in a single patch because union tag enum and the
associated variants tie them together, and dealing with that to split
the patch doesn't seem worthwhile.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20181213123724.4866-18-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-12-14 06:52:48 +01:00
..
__init__.py
commands.py qapi/commands: add #if conditions to commands 2018-07-03 18:38:54 +02:00
common.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00
doc.py qapi: change enum visitor and gen_enum* to take QAPISchemaMember 2018-12-13 19:20:11 +01:00
events.py qapi-events: add 'if' condition to implicit event enum 2018-12-13 19:20:11 +01:00
introspect.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00
types.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00
visit.py qapi: Add #if conditions to generated code members 2018-12-14 06:52:48 +01:00