On Mon, 04 Apr 2011 22:43:54 +0200, Lorenzo Masini <[email protected]>
wrote:
> Il giorno ven, 01/04/2011 alle 12.09 +0100, Phil Thompson ha scritto:
>> Using the /NoRelease/ mapped type annotation will suppress the
generation
>> of the assign_ helper, but it will also has an effect on calling the
>> type's
>> dtor. Is that Ok, or is a separate /NoAssign/ annotation needed?
> 
> Thanks for your reply,
> I think, /NoRelease/ should be enough for my case, because in the
> library I'm wrapping, c++ object ownership should never be passed to
> python.
> Is this the case isn't it?

/NoRelease/ has nothing to do with ownership. It is related to classes
that are passed by value rather than by reference.

Phil
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to