From e683de5ab8e6ffefad703a5628891b3d389ba3da Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 15 Mar 2013 13:29:02 +0100 Subject: [PATCH] Build fix for libpython. --- lib/python/pythonlanguage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/pythonlanguage.cpp b/lib/python/pythonlanguage.cpp index bb3c80c9d..ff76d35f7 100644 --- a/lib/python/pythonlanguage.cpp +++ b/lib/python/pythonlanguage.cpp @@ -291,7 +291,7 @@ PyObject *PythonLanguage::PyCallNativeFunction(PyObject *self, PyObject *args) char *name = PyString_AsString(self); - ScriptFunction::Ptr function = ScriptFunction::GetByName(name); + ScriptFunction::Ptr function = ScriptFunctionRegistry::GetInstance()->GetItem(name); vector arguments;