diff options
author | Marc-André Lureau | 2018-12-13 13:37:18 +0100 |
---|---|---|
committer | Markus Armbruster | 2018-12-13 19:20:11 +0100 |
commit | 3e270dcacc08cca45e694ca48159915f81303cfa (patch) | |
tree | d0c26d3370153727fa0a8554c83204b497ae8fca /os-posix.c | |
parent | qapi: add 'if' to union members (diff) | |
download | qemu-3e270dcacc08cca45e694ca48159915f81303cfa.tar.gz qemu-3e270dcacc08cca45e694ca48159915f81303cfa.tar.xz qemu-3e270dcacc08cca45e694ca48159915f81303cfa.zip |
qapi: add 'if' to alternate members
Add 'if' key to alternate members:
{ 'alternate': 'TestIfAlternate', 'data':
{ 'alt': { 'type': 'TestStruct', 'if': 'COND' } } }
Generated code is not changed by this patch but with "qapi: add #if
conditions to generated code".
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20181213123724.4866-17-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions