diff options
| author | Markus Armbruster <armbru@redhat.com> | 2015-09-16 13:06:21 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2015-09-21 09:56:48 +0200 |
| commit | 56d92b003a223585980df5403ee9e3a55de90adf (patch) | |
| tree | b9034dd5633dcff2ca8859ab4d6bb9991cfc26f2 /scripts/qapi-types.py | |
| parent | 03b4367a556179e3e59affa535493427bd009e9d (diff) | |
| download | focaccia-qemu-56d92b003a223585980df5403ee9e3a55de90adf.tar.gz focaccia-qemu-56d92b003a223585980df5403ee9e3a55de90adf.zip | |
qapi-commands: De-duplicate output marshaling functions
gen_marshal_output() uses its parameter name only for name of the generated function. Name it after the type being marshaled instead of its caller, and drop duplicates. Saves 7 copies of qmp_marshal_output_int() in qemu-ga, and one copy of qmp_marshal_output_str() in qemu-system-*. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1442401589-24189-19-git-send-email-armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions