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:
2009-04-19 14:57:52 +00:00
parent 8d2cb5bea4
commit 7dbc9dc719
63 changed files with 200 additions and 247 deletions

View File

@@ -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,