]> git.proxmox.com Git - mirror_qemu.git/commit - qobject/qobject.c
qapi: Add qobject_is_equal()
authorMax Reitz <mreitz@redhat.com>
Tue, 14 Nov 2017 18:01:25 +0000 (19:01 +0100)
committerMax Reitz <mreitz@redhat.com>
Fri, 17 Nov 2017 17:21:30 +0000 (18:21 +0100)
commitb38dd678a21582e03ecd2dec76ccf8290455628a
tree1076a9bc7235d44314418bb7ef140685692e999e
parent254bf807e5354c7b424d6fc28cb17c4f9ba43e35
qapi: Add qobject_is_equal()

This generic function (along with its implementations for different
types) determines whether two QObjects are equal.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20171114180128.17076-4-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
14 files changed:
include/qapi/qmp/qbool.h
include/qapi/qmp/qdict.h
include/qapi/qmp/qlist.h
include/qapi/qmp/qnull.h
include/qapi/qmp/qnum.h
include/qapi/qmp/qobject.h
include/qapi/qmp/qstring.h
qobject/qbool.c
qobject/qdict.c
qobject/qlist.c
qobject/qnull.c
qobject/qnum.c
qobject/qobject.c
qobject/qstring.c