provide get_py and get_py_ptr
[mussa.git] / qui / threading / InterpreterThread.cpp
1 #include "py/python.hpp"
2 #include "qui/threading/InterpreterThread.hpp"
3 #include "qui/threading/ThreadManager.hpp"
4
5 void InterpreterThread::run()
6 {
7   ::get_py_ptr()->interpreter();
8 }
9
10 MussaPython *InterpreterThread::get_py_ptr()
11 {
12   return ::get_py_ptr();
13 }
14
15 InterpreterThread::InterpreterThread()
16 {
17 }