]> Git Repo - qemu.git/commit - scripts/qapi/commands.py
qapi/commands: add #if conditions to commands
authorMarc-André Lureau <[email protected]>
Tue, 3 Jul 2018 15:56:43 +0000 (17:56 +0200)
committerMarkus Armbruster <[email protected]>
Tue, 3 Jul 2018 16:38:54 +0000 (18:38 +0200)
commit1f7b9f3181ee137101cca66461c47e718b853240
tree12ed9f40b962019ec0ac6a9984b50663c092a9e1
parentd626b6c1ae7c811d0cfd5f8dc042426dcd1bcf90
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 <[email protected]>
Message-Id: <20180703155648[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
[Line breaks tweaked]
Signed-off-by: Markus Armbruster <[email protected]>
scripts/qapi/commands.py
tests/test-qmp-cmds.c
This page took 0.025142 seconds and 4 git commands to generate.