publishing an already instantiated class
J
jstier at cs.uvic.ca
Thu Jul 7 20:16:30 EDT 2005
I think I just found my own solution, so I will record it for future
references
I did this in my Constructor of X
{
PyStruct* lObject;
lObject = PyObject_New(PyStruct, &X::PyType);
lObject->mObject = this;
}
What does everyone think about this. I am posting a little bit out of
the hip here,
and should probably investigate my solution a little more.
Nevertheless, it is
a good way to record my experiences...
Cheers
Jochen
More information about the Python-list
mailing list