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/py.cpp | |
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/py.cpp')
-rw-r--r-- | externals/grill/py/source/py.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/grill/py/source/py.cpp b/externals/grill/py/source/py.cpp index 68f805b8..3856739e 100644 --- a/externals/grill/py/source/py.cpp +++ b/externals/grill/py/source/py.cpp @@ -331,7 +331,7 @@ void pyobj::callwork(const t_symbol *s,int argc,const t_atom *argv) else post("%s: no valid function defined",thisName()); } - else { + else if(module) { // no function defined as creation argument -> use message tag PyObject *func = PyObject_GetAttrString(module,const_cast<char *>(GetString(s))); if(func) { |