[PyQt] References returned from C++
Arve Knudsen
arve.knudsen at gmail.com
Sun Jun 22 11:53:41 BST 2008
How does one normally treat references returned by SIP-wrapped C++
objects? I just determined a segmentation fault in my program resulted
from an object first being obtained as a reference (in the C++ sense)
from a C++ method, and then destroyed with the parent object. Does one
normally keep in mind that the object dies implicitly with its C++
parent, or is there a way to have SIP give you copies rather than
borrowed references?
Thanks,
Arve
More information about the PyQt
mailing list