BGE Python API cleanup - no functionality changes
- comments to PyObjectPlus.h - remove unused/commented junk. - renamed PyDestructor to py_base_dealloc for consistency - all the PyTypeObject's were still using the sizeof() their class, can use sizeof(PyObjectPlus_Proxy) now which is smaller too.
This commit is contained in:
@@ -130,9 +130,9 @@ PyTypeObject SCA_RandomSensor::Type = {
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
0,
|
||||
"SCA_RandomSensor",
|
||||
sizeof(SCA_RandomSensor),
|
||||
sizeof(PyObjectPlus_Proxy),
|
||||
0,
|
||||
PyDestructor,
|
||||
py_base_dealloc,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user