qemu/qobject
Markus Armbruster 89cad9f3ec qdict: Make conversion from QObject * accept null
qobject_to_qdict() crashes on null, which is a trap for the unwary.
Return null instead, and simplify a few callers.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1444918537-18107-4-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
2015-10-29 14:34:45 +01:00
..
json-lexer.c json-lexer: fix escaped backslash in single-quoted string 2014-06-23 11:01:24 -04:00
json-parser.c Include qapi/qmp/qerror.h exactly where needed 2015-06-22 18:20:41 +02:00
json-streamer.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
Makefile.objs qerror: Finally unused, clean up 2015-06-22 18:20:40 +02:00
qbool.c qbool: Make conversion from QObject * accept null 2015-10-29 14:34:44 +01:00
qdict.c qdict: Make conversion from QObject * accept null 2015-10-29 14:34:45 +01:00
qfloat.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qint.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qjson.c qerror: Finally unused, clean up 2015-06-22 18:20:40 +02:00
qlist.c build: move qobject files to qobject/ and libqemuutil.a 2013-01-12 18:42:50 +01:00
qnull.c qobject: Add a special null QObject 2015-05-11 08:59:07 -04:00
qstring.c qstring: add qstring_get_length() 2013-04-05 08:42:29 -04:00