repo.or.cz
/
qemu
/
ar7.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
docs: update to show preferred boolean syntax for -vnc
[qemu/ar7.git]
/
tests
/
qapi-schema
/
doc-bad-union-member.json
blob
d611435f6ae80b01ecfdde8f7f9334463f61041a
1
# Arguments listed in the doc comment must exist in the actual schema
2
3
##
4
# @Frob:
5
# @a: a
6
# @b: b
7
##
8
{ 'union': 'Frob',
9
'base': 'Base',
10
'discriminator': 'type',
11
'data': { 'nothing': 'Empty' } }
12
13
{ 'struct': 'Base',
14
'data': { 'type': 'T' } }
15
16
{ 'struct': 'Empty',
17
'data': { } }
18
19
{ 'enum': 'T', 'data': ['nothing'] }