unicorn/qemu/scripts/qapi
Markus Armbruster fb0fb93109
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é.

Backports commit 9f88c66211342714b06c051140fd64ffd338dbe1 from qemu
2018-07-05 12:12:28 -04:00
..
__init__.py qapi-gen: New common driver for code and doc generators 2018-03-09 08:47:12 -05:00
common.py qapi: add #if/#endif helpers 2018-07-05 12:07:14 -04:00
events.py qapi/events: add #if conditions to events 2018-07-05 12:09:05 -04:00
types.py qapi-types: add #if conditions to types & visitors 2018-07-05 12:12:28 -04:00
visit.py qapi-types: add #if conditions to types & visitors 2018-07-05 12:12:28 -04:00