BGE Python api

Added the method into the PyType so python knows about the methods (its supposed to work this way).
This means in the future the api can use PyType_Ready() to store the methods in the types dictionary.
Python3 removes Py_FindMethod and we should not be using it anyway since its not that efficient.
This commit is contained in:
Campbell Barton
2009-04-03 04:12:20 +00:00
parent 0499d98311
commit d573e9c539
64 changed files with 183 additions and 407 deletions

View File

@@ -116,13 +116,10 @@ PyTypeObject SCA_ANDController::Type = {
0,
__getattr,
__setattr,
0, //&MyPyCompare,
0,
__repr,
0, //&cvalue_as_number,
0,
0,
0,
0
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
Methods
};
PyParentObject SCA_ANDController::Parents[] = {