On Thursday 05 July 2007 4:48 pm, Doyon, Jean-Francois wrote: > Phil, > > Thanks a bunch, just go the snapshot, and things now work as expected. > > One thing though re: reference passing: > > I wanted Python to get the reference so that everything gest cleaned up > properly, so I added a /TransferBack/ (Actually /Out,TransferBack/) to > the method signature, only now glibc complains that free() is called on > an invalid pointer when the interpreter shuts down! Is that right?
Probably not. Where does ownership of the (C++) object really lie? You can only use /TransferBack/ if ownership if the C++ really is giving up ownership. > I may end up using the C++ toolkit I'm wrapping a long-running, even > threaded process (a server), so I want to make sure I get this right. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
