]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: De-duplicate entity documentation generation code
authorMarkus Armbruster <armbru@redhat.com>
Thu, 24 Oct 2019 11:02:25 +0000 (13:02 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 29 Oct 2019 06:35:16 +0000 (07:35 +0100)
commita4bd91d3f3d69414c9c76b856a0d69b12773503c
tree9b74cd9e17084e4559ea9a865882773ab1552c88
parentb621a26040dd626cf9098c277e763f55fcfacf67
qapi: De-duplicate entity documentation generation code

QAPISchemaGenDocVisitor.visit_command() duplicates texi_entity() for
its boxed arguments case.  The previous commit added another copy in
.visit_event().

Replace texi_entity() by texi_type() and texi_msg().  Use texi_msg()
for the boxed arguments case as well.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191024110237.30963-8-armbru@redhat.com>
scripts/qapi/doc.py