]> Git Repo - qemu.git/commit
qlit: rename compare_litqobj_to_qobj() to qlit_equal_qobject()
authorMarc-André Lureau <[email protected]>
Fri, 25 Aug 2017 10:59:04 +0000 (12:59 +0200)
committerMarkus Armbruster <[email protected]>
Mon, 4 Sep 2017 11:09:11 +0000 (13:09 +0200)
commit60cc2eb7afd40b9cbaa35a5e0b54f365ac6e49f1
treeee0dd19a01d3eb5ceb9ec54107793ca8dede1b91
parentd5cd8fbf130312bea91823c41de87d55818d599b
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.

Signed-off-by: Marc-André Lureau <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Message-Id: <20170825105913[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
include/qapi/qmp/qlit.h
qobject/qlit.c
tests/check-qjson.c
This page took 0.024589 seconds and 4 git commands to generate.