]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qapi-schema/flat-union-base-star.json
qapi: Make output visitor return qnull() instead of NULL
[mirror_qemu.git] / tests / qapi-schema / flat-union-base-star.json
1 # we require the base to be an existing struct
2 { 'enum': 'TestEnum',
3 'data': [ 'value1', 'value2' ] }
4 { 'struct': 'TestTypeA',
5 'data': { 'string': 'str' } }
6 { 'struct': 'TestTypeB',
7 'data': { 'integer': 'int' } }
8 { 'union': 'TestUnion',
9 'base': '**',
10 'discriminator': 'enum1',
11 'data': { 'value1': 'TestTypeA',
12 'value2': 'TestTypeB' } }