From 217bbb7800679899302ddb058f9ceea1d00c7ce1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Apr 2009 23:17:52 +0000 Subject: BGE Python API Separate getting a normal attribute and getting __dict__, was having to do too a check for __dict__ on each class (multiple times per getattro call from python) when its not used that often. --- source/gameengine/Expressions/ListValue.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/gameengine/Expressions/ListValue.h') diff --git a/source/gameengine/Expressions/ListValue.h b/source/gameengine/Expressions/ListValue.h index 2af5a330c43..3d88b5aea9c 100644 --- a/source/gameengine/Expressions/ListValue.h +++ b/source/gameengine/Expressions/ListValue.h @@ -60,6 +60,7 @@ public: bool CheckEqual(CValue* first,CValue* second); virtual PyObject* py_getattro(PyObject* attr); + virtual PyObject* py_getattro_dict(); virtual PyObject* py_repr(void) { PyObject *py_proxy= this->GetProxy(); PyObject *py_list= PySequence_List(py_proxy); -- cgit v1.2.3