diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2007-07-06 21:44:56 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2007-07-06 21:44:56 +0000 |
commit | 3922cb5abcd451238047713829456e50f94dade2 (patch) | |
tree | 990cb81fcccfc5bbe3807442401615ec76b66d44 /externals/grill/py/source/pybase.h | |
parent | d58dd27f1324e4d33a3f09637b2c06198dd27df4 (diff) |
adapting to new flext lockfree structures
much better detach method handling (one thread for all object instances)
use PyGILState_\*() functionality (enabled with PY_USE_GIL)
ooops, fixing typo
fixing numpy initialization quirks
pyext._init is now called after __init__
enabled use of inofficial PD functionality for search and help path access (#define PY_USE_INOFFICIAL)
added sketch for new pye (Python expression) object
buffer protocol adapted for Python 2.5
svn path=/trunk/; revision=7903
Diffstat (limited to 'externals/grill/py/source/pybase.h')
-rw-r--r-- | externals/grill/py/source/pybase.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/externals/grill/py/source/pybase.h b/externals/grill/py/source/pybase.h index 61518a2a..437fa85f 100644 --- a/externals/grill/py/source/pybase.h +++ b/externals/grill/py/source/pybase.h @@ -108,7 +108,7 @@ protected: static PyObject *module_obj,*module_dict; static PyObject *builtins_obj,*builtins_dict; - static PyMethodDef func_tbl[]; + static PyMethodDef func_tbl[],attr_tbl[]; static PyObject *py__doc__(PyObject *,PyObject *args); static PyObject *py_send(PyObject *,PyObject *args); @@ -120,6 +120,9 @@ protected: static PyObject *py_samplerate(PyObject *,PyObject *args); static PyObject *py_blocksize(PyObject *,PyObject *args); + static PyObject *py_searchpaths(PyObject *,PyObject *args); + static PyObject *py_helppaths(PyObject *,PyObject *args); + #if FLEXT_SYS == FLEXT_SYS_PD static PyObject *py_getvalue(PyObject *,PyObject *args); static PyObject *py_setvalue(PyObject *,PyObject *args); |