[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/6] qobject: Drop QObject_HEAD
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 1/6] qobject: Drop QObject_HEAD |
Date: |
Thu, 15 Oct 2015 09:24:58 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 10/15/2015 08:15 AM, Markus Armbruster wrote:
> QObject_HEAD is a macro expanding into the common part of structs that
> are sub-types of QObject. It's always been just QObject base, and
> unlikely to change. Drop the macro, because the code is clearer with
> out it.
>
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
> include/qapi/qmp/qbool.h | 2 +-
> include/qapi/qmp/qdict.h | 2 +-
> include/qapi/qmp/qfloat.h | 2 +-
> include/qapi/qmp/qint.h | 2 +-
> include/qapi/qmp/qlist.h | 2 +-
> include/qapi/qmp/qobject.h | 4 ----
> include/qapi/qmp/qstring.h | 2 +-
> 7 files changed, 6 insertions(+), 10 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 0/6] qobject: Make conversion from QObject * accept null, Markus Armbruster, 2015/10/15
- [Qemu-devel] [PATCH 1/6] qobject: Drop QObject_HEAD, Markus Armbruster, 2015/10/15
- Re: [Qemu-devel] [PATCH 1/6] qobject: Drop QObject_HEAD,
Eric Blake <=
- [Qemu-devel] [PATCH 2/6] qbool: Make conversion from QObject * accept null, Markus Armbruster, 2015/10/15
- [Qemu-devel] [PATCH 5/6] qlist: Make conversion from QObject * accept null, Markus Armbruster, 2015/10/15
- [Qemu-devel] [PATCH 6/6] qstring: Make conversion from QObject * accept null, Markus Armbruster, 2015/10/15
- Re: [Qemu-devel] [PATCH 0/6] qobject: Make conversion from QObject * accept null, Luiz Capitulino, 2015/10/15
- [Qemu-devel] [PATCH 3/6] qdict: Make conversion from QObject * accept null, Markus Armbruster, 2015/10/15