+ replace old C casts with static_cast in generated C++ code, remove unused parent structure of Python classes, support of -1 as return value of setCustomAttributes

This commit is contained in:
wmayer
2015-09-27 22:08:08 +02:00
parent 6fea753584
commit ee28daa669
6 changed files with 25 additions and 51 deletions

View File

@@ -132,11 +132,6 @@ PyMethodDef PyObjectBase::Methods[] = {
{NULL, NULL, 0, NULL} /* Sentinel */
};
/*------------------------------
* PyObjectBase Parents -- Every class, even the abstract one should have parents
------------------------------*/
PyParentObject PyObjectBase::Parents[] = {&PyObjectBase::Type, NULL};
PyObject* PyObjectBase::__getattr(PyObject * obj, char *attr)
{
// This should be the entry in Type