unicorn/qemu/qapi
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
..
common.json qapi: Update scripts to commit 01b2ffcedd94ad7b42bc870e4c6936c87ad03429 2018-03-03 18:32:12 -05:00
Makefile.objs qapi: rename *qmp-*-visitor* to *qobject-*-visitor* 2018-02-26 15:42:37 -05:00
misc.json qapi: Empty out qapi-schema.json 2018-03-09 10:23:27 -05:00
qapi-clone-visitor.c qapi/qnull: Add own header 2018-03-08 08:35:23 -05:00
qapi-dealloc-visitor.c qdict qlist: Make most helper macros functions 2018-03-08 08:30:10 -05:00
qapi-schema.json qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-09 11:35:11 -05:00
qapi-visit-core.c Include qapi/qmp/qobject.h exactly where needed 2018-03-08 08:48:27 -05:00
qobject-input-visitor.c qapi: Make more of qobject_to() 2018-03-20 11:05:44 -04:00
qobject-output-visitor.c qapi: Replace qobject_to_X(o) by qobject_to(X, o) 2018-03-20 10:55:57 -04:00
string-input-visitor.c qapi/qnull: Add own header 2018-03-08 08:35:23 -05:00