mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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>
This commit is contained in:
parent
11a1199846
commit
4cfd6537e4
4 changed files with 24 additions and 24 deletions
|
@ -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_.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue