diff options
Diffstat (limited to 'externals/grill/py/source/main.h')
-rw-r--r-- | externals/grill/py/source/main.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/externals/grill/py/source/main.h b/externals/grill/py/source/main.h index e953b319..03b67e1c 100644 --- a/externals/grill/py/source/main.h +++ b/externals/grill/py/source/main.h @@ -58,9 +58,6 @@ protected: }; -PyThreadState *FindThreadState(); -void FreeThreadState(); - class py: public flext_base { @@ -141,9 +138,11 @@ protected: bool gencall(PyObject *fun,PyObject *args); virtual bool callpy(PyObject *fun,PyObject *args) = 0; -private: -// PyInterpreterState *interpreter; +#if FLEXT_SYS == FLEXT_SYS_MAX + static short patcher_myvol(t_patcher *x); +#endif +private: bool qucall(PyObject *fun,PyObject *args); void threadworker(); Fifo qufifo; @@ -157,6 +156,11 @@ private: FLEXT_CALLBACK_X(work_wrapper) #endif +#ifdef FLEXT_THREADS + static PyThreadState *FindThreadState(); + static void FreeThreadState(); +#endif + public: #ifdef FLEXT_THREADS |