diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-03 08:12:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-03 08:12:20 +0400 |
commit | d573e9c5390a438b6e606a12d05dc2c6ad06a174 (patch) | |
tree | a921b33b0f399293cf65780d20c361184c13ab1c /source/gameengine/Expressions/ListValue.cpp | |
parent | 0499d98311c6c9ce1a096ca2ee7bd0e361b5188c (diff) |
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.
Diffstat (limited to 'source/gameengine/Expressions/ListValue.cpp')
-rw-r--r-- | source/gameengine/Expressions/ListValue.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Expressions/ListValue.cpp b/source/gameengine/Expressions/ListValue.cpp index 90a939af236..aa84cab0266 100644 --- a/source/gameengine/Expressions/ListValue.cpp +++ b/source/gameengine/Expressions/ListValue.cpp @@ -210,6 +210,8 @@ PyTypeObject CListValue::Type = { &instance_as_mapping, /*tp_as_mapping*/ 0, /*tp_hash*/ 0, /*tp_call */ + 0,0,0,0,0,0,0,0,0,0,0,0, + Methods }; |