xemu/scripts/qapi
Markus Armbruster 9f88c66211 qapi-types: add #if conditions to types & visitors
Types & visitors are coupled and must be handled together to avoid
temporary build regression.

Wrap generated types/visitor code with #if/#endif using the context
helpers. Derived from a patch by Marc-André.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180703155648.11933-12-marcandre.lureau@redhat.com>
2018-07-03 18:38:53 +02: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/#endif helpers 2018-07-03 18:38:53 +02:00
doc.py qapi: add 'ifcond' to visitor methods 2018-07-03 18:38:53 +02:00
events.py qapi/events: add #if conditions to events 2018-07-03 18:38:54 +02:00
introspect.py qapi-introspect: add preprocessor conditions to generated QLit 2018-07-03 18:38:54 +02:00
types.py qapi-types: add #if conditions to types & visitors 2018-07-03 18:38:53 +02:00
visit.py qapi-types: add #if conditions to types & visitors 2018-07-03 18:38:53 +02:00