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