[C++-sig] Re: PyObject * self member in class wrappers.
dirk at gerrits.homeip.net
Fri Jan 10 17:21:41 CET 2003
David Abrahams wrote:
> Dirk Gerrits <dirk at gerrits.homeip.net> writes:
>>Well I'm afraid that I'm not too sure myself. Here's what I thought up:
>>You can wrap a PyObject* in a python::handle<>, create
>>a python::object out of it and then copy that.
> copying an instance of class object just does what it does in Python;
> it makes a copy of the reference.
DOH! You're right of course. That pretty much makes my whole post incorrect.
More information about the Cplusplus-sig