mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
qapi: Add feature flags to enum members
This is quite similar to commit 84ab008687
"qapi: Add feature flags to
struct members", only for enums instead of structs.
Special feature flag 'deprecated' is silently ignored there. This is
okay only because it will be implemented shortly.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20211025042405.3762351-3-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
75ecee7262
commit
b6c18755e4
13 changed files with 57 additions and 14 deletions
|
@ -341,6 +341,7 @@ enum FeatureEnum1
|
|||
member eins
|
||||
member zwei
|
||||
member drei
|
||||
feature deprecated
|
||||
feature feature1
|
||||
object q_obj_FeatureUnion1-base
|
||||
member tag: FeatureEnum1 optional=False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue