make compiled in python extension initialization more flexable
[mussa.git] / qui / threading / InterpreterThread.cpp
index 45171e7eeb8d18fd174d962a74abc9c46ffc66c4..bb7bae8cc47c9ac6f7fa10970bd7fc82b972c380 100644 (file)
@@ -4,7 +4,12 @@
 
 void InterpreterThread::run()
 {
-  get_py().interpreter();
+  ::get_py()->interpreter();
+}
+
+MussaPython *InterpreterThread::get_py()
+{
+  return ::get_py();
 }
 
 InterpreterThread::InterpreterThread()