[Kde-bindings] playground/bindings/kimono
Arno Rehn
arno at arnorehn.de
Thu Feb 8 17:07:52 UTC 2007
Am Donnerstag, 8. Februar 2007 schrieb Richard Dale:
> SVN commit 631534 by rdale:
>
> * Added a strongReferenceMap to hold a mapping from a C++ pointer to
> a C# instance. It is used to prevent garbage collection for instances
> which are contained in another instance, such as a QObject with a
> parent, even when there are no references to the child within the C#
> Qyoto application code. When the parent finally deletes the child on
> the C++ side, the reference is removed from the Dictionary by the
> SmokeMarshallers.UnmapPointer() method.
Ah very good. I just recognized what I wrote before was complete rubbish, so
this is definitly the right way.
--
Arno Rehn
arno at arnorehn.de
More information about the Kde-bindings
mailing list