unicorn/qemu/qobject
Markus Armbruster 9d1937f25d
qdict: Make qdict_get_qlist() safe like qdict_get_qdict()
Commit 89cad9f changed qdict_get_qdict() to return NULL instead of
crash when the key doesn't exist or its value isn't a QDict.
Commit 2d6421a neglected to do the same for qdict_get_qlist().
Correct that, and update the function comments.

qdict_get_obj() is now unused, remove.

Backports commit b25f23e7dbc6bc0dcda010222a4f178669d1aedc from qemu
2018-03-02 08:35:17 -05:00
..
Makefile.objs qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qbool.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qdict.c qdict: Make qdict_get_qlist() safe like qdict_get_qdict() 2018-03-02 08:35:17 -05:00
qfloat.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qint.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qlist.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qnull.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qobject.c qapi: Convert QType into QAPI built-in enum type 2018-02-19 21:47:05 -05:00
qstring.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00