Diff of /Libraries/swakPythonIntegration/pythonInterpreterWrapper.H [df7d48] .. [8d143b]  Maximize  Restore

Switch to side-by-side view

--- a/Libraries/swakPythonIntegration/pythonInterpreterWrapper.H
+++ b/Libraries/swakPythonIntegration/pythonInterpreterWrapper.H
@@ -142,6 +142,7 @@
     //- how many instances exist (we need a separate interpreter for each of those)
     static label interpreterCount;
+    static PyThreadState *mainThreadState;
     //- Execute after the python-code has been called
     void doAfterExecution(
@@ -153,6 +154,9 @@
     //- set the state to "my" interpreter
     void setInterpreter();
+    //- release the state to "my" interpreter
+    void releaseInterpreter();
     //- Check whether we want to continue (parallel)
     bool parallelNoRun(bool doWarning=false);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks