diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-12-13 16:37:19 +0400 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2018-12-14 06:52:48 +0100 |
| commit | 8ee06f61e13701a54a9f76ceadafc856d279cdb6 (patch) | |
| tree | cf28e74874ec50093f556b888f5cab320a0b2c9a /scripts/qapi/doc.py | |
| parent | 3e270dcacc08cca45e694ca48159915f81303cfa (diff) | |
| download | focaccia-qemu-8ee06f61e13701a54a9f76ceadafc856d279cdb6.tar.gz focaccia-qemu-8ee06f61e13701a54a9f76ceadafc856d279cdb6.zip | |
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>
Diffstat (limited to 'scripts/qapi/doc.py')
0 files changed, 0 insertions, 0 deletions