+ 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user