diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-09 04:58:11 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-09 04:58:11 +0000 |
commit | e854889b99b9e515dc69d237b1031b5705e83b60 (patch) | |
tree | 6b525184d850f15012e316ca51cf0a11563261ea /externals/grill/py/source/main.h | |
parent | 9ccbbc943fa25426542b4fb6d6bc280c3281001b (diff) |
fixes for detached operation and single-threaded version
use lock count instead of message queuing to avoid py->py messaging deadlock
support for buffer objects (preliminary)
updated build system
little restructuring
fixes for single-threaded compilation
added support for numarray
svn path=/trunk/; revision=2610
Diffstat (limited to 'externals/grill/py/source/main.h')
-rw-r--r-- | externals/grill/py/source/main.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/externals/grill/py/source/main.h b/externals/grill/py/source/main.h index 2d495461..7079dc2f 100644 --- a/externals/grill/py/source/main.h +++ b/externals/grill/py/source/main.h @@ -13,6 +13,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include "pyprefix.h" #include "pysymbol.h" +#include "pybuffer.h" #include <flcontainers.h> #if FLEXT_OS == FLEXT_LINUX || FLEXT_OS == FLEXT_IRIX @@ -107,6 +108,12 @@ protected: static PyObject *py_setvalue(PyObject *,PyObject *args); #endif +#ifdef PY_NUMARRAY + static void setupNumarray(); + static PyObject *py_import(PyObject *,PyObject *args); + static PyObject *py_export(PyObject *,PyObject *args); +#endif + // ----thread stuff ------------ virtual void m_stop(int argc,const t_atom *argv); |