repo.or.cz
/
qemu
/
kevin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
qapi: Drop simple unions
[qemu/kevin.git]
/
tests
/
qapi-schema
/
union-base-empty.json
blob
6f8ef000dbbe6f528cd65a4a08c3edb965a7b2b5
1
# Union with empty base and therefore without discriminator
2
3
{ 'struct': 'Empty', 'data': { } }
4
5
{ 'union': 'TestUnion',
6
'base': 'Empty',
7
'discriminator': 'type',
8
'data': { 'value1': 'int',
9
'value2': 'str' } }