unicorn/qemu/qobject
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
..
Makefile.objs qerror: Finally unused, clean up 2018-02-17 15:23:10 -05:00
qbool.c qbool: Make conversion from QObject * accept null 2018-02-17 15:24:11 -05:00
qdict.c qstring: Make conversion from QObject * accept null 2018-02-17 15:24:12 -05:00
qfloat.c qfloat qint: Make conversion from QObject * accept null 2018-02-17 15:24:12 -05:00
qint.c qfloat qint: Make conversion from QObject * accept null 2018-02-17 15:24:12 -05:00
qlist.c qlist: Make conversion from QObject * accept null 2018-02-17 15:24:12 -05:00
qstring.c qstring: Make conversion from QObject * accept null 2018-02-17 15:24:12 -05:00