unicorn/qemu/include/qapi/qmp
Marc-André Lureau 0087625b7e
qobject: Modify qobject_ref() to return obj
For convenience and clarity, make it possible to call qobject_ref() at
the time when the reference is associated with a variable, or
argument, by making qobject_ref() return the same pointer as given.
Use that to simplify the callers.

Backports commit f5a74a5a50387c6f980b2e2f94f062487a1826da from qemu
2018-05-04 10:24:10 -04:00
..
qbool.h qobject: use a QObjectBase_ struct 2018-05-04 10:11:24 -04:00
qdict.h qobject: use a QObjectBase_ struct 2018-05-04 10:11:24 -04:00
qerror.h qmp: Eliminate silly QERR_QMP_* macros 2018-03-02 11:28:17 -05:00
qjson.h import 2015-08-21 15:04:50 +08:00
qlist.h qobject: use a QObjectBase_ struct 2018-05-04 10:11:24 -04:00
qlit.h qlit: add qobject_from_qlit() 2018-03-20 10:30:41 -04:00
qnull.h qobject: Modify qobject_ref() to return obj 2018-05-04 10:24:10 -04:00
qnum.h qobject: use a QObjectBase_ struct 2018-05-04 10:11:24 -04:00
qobject.h qobject: Modify qobject_ref() to return obj 2018-05-04 10:24:10 -04:00
qstring.h qobject: use a QObjectBase_ struct 2018-05-04 10:11:24 -04:00