aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2015-05-14 06:50:54 -0600
committerMarkus Armbruster <armbru@redhat.com>2015-05-14 18:21:03 +0200
commitd557344628e32771f07e5b6a2a818ee3d8e7a65f (patch)
tree498b539e72a7b9086b1070e30aa4fb12738a60cb /qmp-commands.hx
parent849bc5382e42b3b9590c6a50ba30c2fd2450308c (diff)
qapi: Tidy c_type() logic
c_type() is designed to be called on both string names and on array designations, so 'name' is a bit misleading because it operates on more than strings. Also, no caller ever passes an empty string. Finally, + notation is a bit nicer to read than '%s' % value for string concatenation. Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
0 files changed, 0 insertions, 0 deletions