summary refs log tree commit diff stats
path: root/scripts/qapi/doc.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-07-03 17:56:43 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-07-03 18:38:54 +0200
commit1f7b9f3181ee137101cca66461c47e718b853240 (patch)
tree12ed9f40b962019ec0ac6a9984b50663c092a9e1 /scripts/qapi/doc.py
parentd626b6c1ae7c811d0cfd5f8dc042426dcd1bcf90 (diff)
downloadfocaccia-qemu-1f7b9f3181ee137101cca66461c47e718b853240.tar.gz
focaccia-qemu-1f7b9f3181ee137101cca66461c47e718b853240.zip
qapi/commands: add #if conditions to commands
Wrap generated code with #if/#endif using an 'ifcontext' on
QAPIGenCSnippet objects.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180703155648.11933-10-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Line breaks tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/doc.py')
0 files changed, 0 insertions, 0 deletions