diff options
author | John Snow <jsnow@redhat.com> | 2025-03-10 23:42:44 -0400 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2025-03-11 10:10:57 +0100 |
commit | 3a396a865be6a55322baa854c470c43c0a9f64e6 (patch) | |
tree | 6aa189ec9f9cdbd7e7f848adbed01b52c256fd8e /rust/qemu-api | |
parent | e9fbf1a0c6c2df9c53bb577b4245cf48914687fe (diff) | |
download | qemu-3a396a865be6a55322baa854c470c43c0a9f64e6.zip qemu-3a396a865be6a55322baa854c470c43c0a9f64e6.tar.gz qemu-3a396a865be6a55322baa854c470c43c0a9f64e6.tar.bz2 |
docs/qapidoc: add format_type() method
This method is responsible for generating a type name for a given member
with the correct annotations for the QAPI domain. Features and enums do
not *have* types, so they return None. Everything else returns the type
name with a "?" suffix if that type is optional, and ensconced in
[brackets] if it's an array type.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20250311034303.75779-47-jsnow@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions