projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make compiled in python extension initialization more flexable
[mussa.git]
/
qui
/
threading
/
InterpreterThread.cpp
diff --git
a/qui/threading/InterpreterThread.cpp
b/qui/threading/InterpreterThread.cpp
index 45171e7eeb8d18fd174d962a74abc9c46ffc66c4..bb7bae8cc47c9ac6f7fa10970bd7fc82b972c380 100644
(file)
--- a/
qui/threading/InterpreterThread.cpp
+++ b/
qui/threading/InterpreterThread.cpp
@@
-4,7
+4,12
@@
void InterpreterThread::run()
{
- get_py().interpreter();
+ ::get_py()->interpreter();
+}
+
+MussaPython *InterpreterThread::get_py()
+{
+ return ::get_py();
}
InterpreterThread::InterpreterThread()