unicorn/qemu/scripts
Eric Blake 7ec0edc6c6
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.

Backports commit d557344628e32771f07e5b6a2a818ee3d8e7a65f from qemu
2018-02-19 14:53:56 -05:00
..
create_config more cleanup qemu/configure 2017-01-19 14:11:54 +08:00
make_device_config.sh fix file perms 2015-08-28 21:05:38 -07:00
ordereddict.py import 2015-08-21 15:04:50 +08:00
qapi-event.py qapi: Rename generate_enum_full_value() to c_enum_const() 2018-02-19 14:49:20 -05:00
qapi-types.py qapi: Rename generate_enum_full_value() to c_enum_const() 2018-02-19 14:49:20 -05:00
qapi-visit.py qapi: Rename generate_enum_full_value() to c_enum_const() 2018-02-19 14:49:20 -05:00
qapi.py qapi: Tidy c_type() logic 2018-02-19 14:53:56 -05:00