On Monday 05 September 2005 09:30, Phil Thompson wrote:

> Just to clarify - the second argument to sip.transferto() being None means
> that the wrapper gets garbage collected. If you pass a wrapped object
> instead then that wrapped object is given a reference to the object passed
> as the first argument and so wouldn't be garbage collected (unless
> detected as part of a cycle).

Looks like I should "unpatch" the KLibFactory::createObject() function to
prevent it from transferring the object to NULL. In other words, maybe I
should remove the /Factory/ annotation I added in sip/kdecore/klibloader.sip
before trying to use sip.transferto() as you suggest.

David

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to