[PyQt] SIP method args default ownership rules
Jim Crowell
jaclists at mailbolt.com
Thu May 5 18:08:12 BST 2011
On Wed, 04 May 2011 19:54 +0100, "Phil Thompson"
<phil at riverbankcomputing.com> wrote:
> On Wed, 04 May 2011 12:47:39 -0500, "Jim Crowell" <jaclists at mailbolt.com>
> wrote:
> >
> > What are the default assumptions about the ownership of objects passed
> > into or returned from SIP-generated methods?
>
> The ownership of objects passed in is unchanged. The ownership of objects
> returned are with C++ unless SIP has already seen the object, in which
> case
> ownership is unchanged.
Thanks Phil.
-Jim
More information about the PyQt
mailing list