summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorEric Blake2015-05-14 14:50:54 +0200
committerMarkus Armbruster2015-05-14 18:21:03 +0200
commitd557344628e32771f07e5b6a2a818ee3d8e7a65f (patch)
tree498b539e72a7b9086b1070e30aa4fb12738a60cb /include/exec
parentqapi: Move camel_to_upper(), c_enum_const() to closely related code (diff)
downloadqemu-d557344628e32771f07e5b6a2a818ee3d8e7a65f.tar.gz
qemu-d557344628e32771f07e5b6a2a818ee3d8e7a65f.tar.xz
qemu-d557344628e32771f07e5b6a2a818ee3d8e7a65f.zip
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 'include/exec')
0 files changed, 0 insertions, 0 deletions