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
--
http://mail.python.org/mailman/listinfo/python-list
