mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
qapi: Add feature flags to struct members
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200317115459.31821-21-armbru@redhat.com>
This commit is contained in:
parent
645178c069
commit
84ab008687
11 changed files with 46 additions and 14 deletions
|
@ -234,7 +234,9 @@ Syntax:
|
|||
'*features': FEATURES }
|
||||
MEMBERS = { MEMBER, ... }
|
||||
MEMBER = STRING : TYPE-REF
|
||||
| STRING : { 'type': TYPE-REF, '*if': COND }
|
||||
| STRING : { 'type': TYPE-REF,
|
||||
'*if': COND,
|
||||
'*features': FEATURES }
|
||||
|
||||
Member 'struct' names the struct type.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue