[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: GLib/GObject+C as the lingua franca?
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2008-07-30 19:38:28
Message-ID: 200807302138.28650.neundorf () kde ! org
[Download RAW message or body]
Hi Norbert,
On Wednesday 30 July 2008, nf2 wrote:
...
> Will the refcounter be inside QObject or inside the pointer-holding class?
>
> Because in the latter case you would loose the refcount as soon as you
> just pass the pointer to a function or try to cast the pointer:
>
> QRefCountedPointer<A> a = new A();
>
> call_some_function(a.p);
>
> or
>
> QRefCountedPointer<B> = dynamic_cast<B*> a.p;
I didn't really follow the thread and actually I don't know whether I like
what you want to do or not.
But, I find it really cool that you are very persistently working on these
things and actually also get results :-)
Alex
P.S. will you be at Akademy ?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic