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
qapi: add qapi2texi script
[qemu/ar7.git]
/
tests
/
qapi-schema
/
alternate-array.json
blob
c2f98ad608e8108611f40fef5bd2ffc243dc20f6
1
# we do not allow array branches in alternates
2
3
##
4
# @One:
5
##
6
# TODO: should we support this?
7
{ 'struct': 'One',
8
'data': { 'name': 'str' } }
9
##
10
# @Alt:
11
##
12
{ 'alternate': 'Alt',
13
'data': { 'one': 'One',
14
'two': [ 'int' ] } }