unicorn/qemu/qobject
Max Reitz 65b2b73b12
qapi: Make more of qobject_to()
This patch reworks some places which use either qobject_type() checks
plus qobject_to(), where the latter alone is sufficient, or NULL checks
plus qobject_type() checks where we can simply do a qobject_to() != NULL
check.

Backports commit 532fb532847365f61a9c6e1291b6588a43bc1cc4 from qemu
2018-03-20 11:05:44 -04:00
..
Makefile.objs qlit: move qlit from check-qjson to qobject/ 2018-03-07 17:08:17 -05:00
qbool.c qapi: Remove qobject_to_X() functions 2018-03-20 10:58:44 -04:00
qdict.c qapi: Make more of qobject_to() 2018-03-20 11:05:44 -04:00
qlist.c qapi: Remove qobject_to_X() functions 2018-03-20 10:58:44 -04:00
qlit.c qapi: Replace qobject_to_X(o) by qobject_to(X, o) 2018-03-20 10:55:57 -04:00
qnull.c qapi: Add qobject_is_equal() 2018-03-08 08:41:43 -05:00
qnum.c qapi: Remove qobject_to_X() functions 2018-03-20 10:58:44 -04:00
qobject.c qapi: Add qobject_is_equal() 2018-03-08 08:41:43 -05:00
qstring.c qapi: Remove qobject_to_X() functions 2018-03-20 10:58:44 -04:00