diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-03-15 13:57:18 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-16 07:13:03 +0100 |
commit | 75b50196d9eee43f0b7d006455b9735ea5c3c333 (patch) | |
tree | 612b6338275ec08cdd03a3db25cbf42974ad9698 /tests | |
parent | c19eaa64df7be01f060e04c0f13bba5de549c3f3 (diff) | |
download | qemu-75b50196d9eee43f0b7d006455b9735ea5c3c333.zip qemu-75b50196d9eee43f0b7d006455b9735ea5c3c333.tar.gz qemu-75b50196d9eee43f0b7d006455b9735ea5c3c333.tar.bz2 |
qapi2texi: Use category "Object" for all object types
At the protocol level, the distinction between struct, flat union and
simple union is meaningless, they are all JSON objects. Document them
that way.
Example change (qemu-qmp-ref.txt):
- -- Simple Union: InputEvent
+ -- Object: InputEvent
Input event union.
This also fixes the completely broken headings for flat and simple
unions in qemu-qmp-ref.7 and qemu-ga-ref.7, by sidestepping a bug in
texi2pod.pl. For instance, it mistranslates "@deftp {Simple Union}
InputEvent" to "B<Union> (Simple)", but translates "@deftp Object
InputEvent" to "B<SocketAddress> (Object)".
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1489582656-31133-30-git-send-email-armbru@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions