unicorn/qemu/qapi
Markus Armbruster b9cf91307e
qstring: Make conversion from QObject * accept null
qobject_to_qstring() crashes on null, which is a trap for the unwary.
Return null instead, and simplify a few callers.

Backports commit 7f0278435df1fa845b3bd9556942f89296d4246b from qemu
2018-02-17 15:24:12 -05:00
..
common.json import 2015-08-21 15:04:50 +08:00
Makefile.objs remove glib dependency by provide compatible replacements 2016-12-18 14:56:58 -08:00
qapi-dealloc-visitor.c revert to use of g_free to make future qemu integrations easier (#695) 2016-12-21 22:28:36 +08:00
qapi-visit-core.c qerror: Clean up QERR_ macros to expand into a single string 2018-02-17 15:23:09 -05:00
qmp-input-visitor.c qstring: Make conversion from QObject * accept null 2018-02-17 15:24:12 -05:00
qmp-output-visitor.c qobject: Use 'bool' for qbool 2018-02-17 15:23:09 -05:00
string-input-visitor.c qerror: Clean up QERR_ macros to expand into a single string 2018-02-17 15:23:09 -05:00