[C++-sig] object lifecycle
Dave Hawkes
daveh at cadlink.com
Tue Jul 2 19:31:35 CEST 2002
I was just reviewing some of the recent changes to the structure of object
and noticed that it now holds a PyObject* directly, rather than a handle<>.
However I'm not sure how an object gets cleaned up after it is destroyed as
no destructor is defined. I'm sure I must be missing something obvious here,
but I can't see how the reference count of the controlled PyObject* is
managed?
Thanks
Dave Hawkes
More information about the Cplusplus-sig
mailing list