On Thu, 31 Mar 2011 11:03:14 +0200, Lorenzo Masini <[email protected]> wrote: > Hi everyone > I have a %MappedType which has the operator= private. > Sip generates assing_* code that uses the assignment operator, so the > generated cpp doesn't compile. > Is there a way to define the assign_* method in order to not use the > assignment operator and raise a python exception instead?
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? Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
