]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qapi-schema/flat-union-base-any.json
qapi: add qapi2texi script
[mirror_qemu.git] / tests / qapi-schema / flat-union-base-any.json
index fe66b713ef4746ea375199e346d3c29662b1747f..3dfb02fa30ab26ebadd40af76bf7a2d3f5983049 100644 (file)
@@ -1,10 +1,23 @@
 # we require the base to be an existing struct
+
+##
+# @TestEnum:
+##
 { 'enum': 'TestEnum',
   'data': [ 'value1', 'value2' ] }
+##
+# @TestTypeA:
+##
 { 'struct': 'TestTypeA',
   'data': { 'string': 'str' } }
+##
+# @TestTypeB:
+##
 { 'struct': 'TestTypeB',
   'data': { 'integer': 'int' } }
+##
+# @TestUnion:
+##
 { 'union': 'TestUnion',
   'base': 'any',
   'discriminator': 'enum1',