]> git.proxmox.com Git - mirror_qemu.git/commit - qobject/qstring.c
include/qapi: add g_autoptr support for qobject types
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Mar 2022 15:57:20 +0000 (19:57 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Apr 2022 08:50:38 +0000 (10:50 +0200)
commitd709bbf3b17f43c91e82c3807a39f2c349d27934
tree30e0ae475c7716d412000b7c2403092363a8afaf
parent7773e13fa729bbd2b106121b6c63b11a46c7d0c4
include/qapi: add g_autoptr support for qobject types

Need wrappers for qobject_unref() calls, which is a macro.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220323155743.1585078-10-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
12 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/qstring.h
qobject/qbool.c
qobject/qdict.c
qobject/qlist.c
qobject/qnull.c
qobject/qnum.c
qobject/qstring.c