[PyQt] Template class with private assignment operator

Lorenzo Masini rugginoso at develer.com
Mon Apr 4 21:43:54 BST 2011


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?

Regards
--
Lorenzo Masini
Develer srl




More information about the PyQt mailing list