]> Git Repo - qemu.git/blob - tests/qapi-schema/flat-union-inline.json
qapi: Clean up modular built-in code generation a bit
[qemu.git] / tests / qapi-schema / flat-union-inline.json
1 # we require branches to be a struct name
2 # TODO: should we allow anonymous inline branch types?
3 { 'enum': 'TestEnum',
4   'data': [ 'value1', 'value2' ] }
5 { 'struct': 'Base',
6   'data': { 'enum1': 'TestEnum', 'kind': 'str' } }
7 { 'union': 'TestUnion',
8   'base': 'Base',
9   'discriminator': 'enum1',
10   'data': { 'value1': { 'type': {} },
11             'value2': { 'integer': 'int' } } }
This page took 0.026085 seconds and 4 git commands to generate.