[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 01/29] Introduce QObject
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] Re: [PATCH 01/29] Introduce QObject |
Date: |
Thu, 20 Aug 2009 12:12:12 -0300 |
On Thu, 20 Aug 2009 16:21:58 +0200
Paolo Bonzini <address@hidden> wrote:
> On 08/20/2009 04:17 PM, Luiz Capitulino wrote:
> > On Thu, 20 Aug 2009 10:34:46 +0200
> > Paolo Bonzini<address@hidden> wrote:
> >
> >>
> >>> +/* High-level interface for qobject_incref() */
> >>> +#define QINCREF(qtype) \
> >>> +#define QDECREF(qtype) \
> >>
> >> Why "qtype"?
> >
> > Why not?
>
> Because it's an object, not a type. :-)
Actually, I'm calling anything with QType_HEAD a QType, this
implies that QINCREF() and QDECREF() expects a QType while
qobject_decref() and qobject_incref() expects a QObject.
[Qemu-devel] Re: [PATCH 01/29] Introduce QObject, Paolo Bonzini, 2009/08/20
[Qemu-devel] [PATCH 02/29] Introduce QInt, Luiz Capitulino, 2009/08/19
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Avi Kivity, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Paolo Bonzini, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Luiz Capitulino, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Avi Kivity, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Luiz Capitulino, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Avi Kivity, 2009/08/20
- [Qemu-devel] Re: [PATCH 02/29] Introduce QInt, Luiz Capitulino, 2009/08/20