qemu-devel
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]