aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py/source/main.h')
-rw-r--r--externals/grill/py/source/main.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/externals/grill/py/source/main.h b/externals/grill/py/source/main.h
index 8671a87f..621c9eff 100644
--- a/externals/grill/py/source/main.h
+++ b/externals/grill/py/source/main.h
@@ -90,7 +90,7 @@ protected:
void Respond(bool b);
- static bool IsAnything(const t_symbol *s) { return s && s != sym_bang && s != sym_float && s != sym_int && s != sym_symbol && s != sym_list && s != sym_pointer; }
+ static bool IsAnything(const t_symbol *s) { return s && s != sym_float && s != sym_int && s != sym_symbol && s != sym_list && s != sym_pointer; }
enum retval { nothing,atom,sequ };
@@ -132,6 +132,8 @@ protected:
static short patcher_myvol(t_patcher *x);
#endif
+ static void collect();
+
private:
void work_wrapper(void *data);
@@ -142,16 +144,14 @@ private:
Fifo qufifo;
ThrCond qucond;
+ static PyThreadState *FindThreadState();
+ static void FreeThreadState();
+
FLEXT_THREAD_X(work_wrapper)
#else
FLEXT_CALLBACK_X(work_wrapper)
#endif
-#ifdef FLEXT_THREADS
- static PyThreadState *FindThreadState();
- static void FreeThreadState();
-#endif
-
public:
#ifdef FLEXT_THREADS