unicorn/qemu/scripts
Markus Armbruster 64e9fceab9
qapi: Replace dirty is_c_ptr() by method c_null()
is_c_ptr() looks whether the end of the C text for the type looks like
a pointer. Works, but is fragile.

We now have a better tool: use QAPISchemaType method c_null(). The
initializers for non-pointers become prettier: 0, false or the
enumeration constant with the value 0 instead of {0}.

Backports commit 5710153e7310995b5d4127af267e36d8529b3b30 from qemu
2018-02-19 17:17:40 -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-event: Convert to QAPISchemaVisitor, fixing data with base 2018-02-19 17:16:31 -05:00
qapi-types.py qapi: De-duplicate enum code generation 2018-02-19 17:11:05 -05:00
qapi-visit.py qapi-visit: Convert to QAPISchemaVisitor, fixing bugs 2018-02-19 17:04:59 -05:00
qapi.py qapi: Replace dirty is_c_ptr() by method c_null() 2018-02-19 17:17:40 -05:00