]> Git Repo - qemu.git/blame - tests/qapi-schema/alternate-good.json
qapi: Merge UserDefTwo and UserDefNested in tests
[qemu.git] / tests / qapi-schema / alternate-good.json
CommitLineData
ab916fad 1# Working example of alternate
895a2a80 2{ 'struct': 'Data',
3d0c4829
EB
3 'data': { '*number': 'int', '*name': 'str' } }
4{ 'enum': 'Enum',
5 'data': [ 'hello', 'world' ] }
ab916fad 6{ 'alternate': 'Alt',
3d0c4829
EB
7 'data': { 'value': 'int',
8 'string': 'Enum',
9 'struct': 'Data' } }
This page took 0.022406 seconds and 4 git commands to generate.