diff options
| author | Markus Armbruster | 2021-09-17 16:31:12 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2021-09-25 06:55:54 +0200 |
| commit | 4cfd6537e42b108441852b34fc15933fc66628a1 (patch) | |
| tree | dd71f4bc34a66142b665cc4756a92c3276cb7e64 /docs | |
| parent | Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20210921' into staging (diff) | |
| download | qemu-4cfd6537e42b108441852b34fc15933fc66628a1.tar.gz qemu-4cfd6537e42b108441852b34fc15933fc66628a1.tar.xz qemu-4cfd6537e42b108441852b34fc15933fc66628a1.zip | |
qapi: Tidy up unusual line breaks
Break lines between members instead of within members.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210917143134.412106-2-armbru@redhat.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/devel/qapi-code-gen.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/devel/qapi-code-gen.rst b/docs/devel/qapi-code-gen.rst index ced7a5ffe1..b154eae82e 100644 --- a/docs/devel/qapi-code-gen.rst +++ b/docs/devel/qapi-code-gen.rst @@ -859,9 +859,9 @@ longhand form of MEMBER. Example: a struct type with unconditional member 'foo' and conditional member 'bar' :: - { 'struct': 'IfStruct', 'data': - { 'foo': 'int', - 'bar': { 'type': 'int', 'if': 'IFCOND'} } } + { 'struct': 'IfStruct', + 'data': { 'foo': 'int', + 'bar': { 'type': 'int', 'if': 'IFCOND'} } } A union's discriminator may not be conditional. @@ -871,9 +871,9 @@ the longhand form of ENUM-VALUE_. Example: an enum type with unconditional value 'foo' and conditional value 'bar' :: - { 'enum': 'IfEnum', 'data': - [ 'foo', - { 'name' : 'bar', 'if': 'IFCOND' } ] } + { 'enum': 'IfEnum', + 'data': [ 'foo', + { 'name' : 'bar', 'if': 'IFCOND' } ] } Likewise, features can be conditional. This requires the longhand form of FEATURE_. |
