[Kde-bindings] branches/work/kdebindings-smoke2
Richard Dale
rdale at foton.es
Tue Jul 17 09:16:49 UTC 2007
On Tuesday 17 July 2007, Arno Rehn wrote:
> Am Dienstag, 17. Juli 2007 schrieb Arno Rehn:
> > SVN commit 688823 by arnorehn:
> >
> > * Changed the code generation in kalyptus to produce the desired output.
> > The cast function and the type array need some additional care, they
> > won't work with split smoke libraries yet. Especially the cast f'n is
> > quite tricky when we want to cast from a type in one smoke lib to a
> > type in another smoke lib.
>
> I just wondered what's the actual use of this cast function? With this, we
> can only cast up to one of the super classes, but that doesn't modify the
> object in any way, does it? So what is different after we called that
> function on a pointer?
It's needed because if you cast to a super class, the address of the pointer
will not always be the same as it was.
-- Richard
More information about the Kde-bindings
mailing list