unicorn/qemu/qobject
Marc-André Lureau c51622c4ce
qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject()
compare_litqobj_to_qobj() lacks a qlit_ prefix. Moreover, "compare"
suggests -1, 0, +1 for less than, equal and greater than. The
function actually returns non-zero for equal, zero for unequal.
Rename to qlit_equal_qobject().

Its return type will be cleaned up in the next patch.

Backports commit 60cc2eb7afd40b9cbaa35a5e0b54f365ac6e49f1 from qemu
2018-03-07 17:14:55 -05:00
..
Makefile.objs qlit: move qlit from check-qjson to qobject/ 2018-03-07 17:08:17 -05:00
qbool.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qdict.c qapi: merge QInt and QFloat in QNum 2018-03-03 18:16:28 -05:00
qlist.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00
qlit.c qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject() 2018-03-07 17:14:55 -05:00
qnull.c qapi: Separate type QNull from QObject 2018-03-07 16:43:51 -05:00
qnum.c Include qapi/error.h exactly where needed 2018-03-07 12:26:38 -05:00
qobject.c qapi: merge QInt and QFloat in QNum 2018-03-03 18:16:28 -05:00
qstring.c qobject: Simplify QObject 2018-02-19 21:37:48 -05:00