diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-07-20 08:11:18 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-07-20 08:11:18 +0000 |
commit | 9ac7977b87ef9b5bd1c6036b91dcce5a5e1c4ea1 (patch) | |
tree | b764c096d11a177c344c3726e94526abb58805eb /externals/grill/py/source/pybase.cpp | |
parent | 9ae1dd455b7c2eb695aff6663d32608c32ceea92 (diff) |
corrected Python object propagation (attribute "py") and adjusted help files
better exception handling and error message
much better detach method handling (one thread for all object instances)
better definition of output values (atoms, lists, anythings)
svn path=/trunk/; revision=3364
Diffstat (limited to 'externals/grill/py/source/pybase.cpp')
-rw-r--r-- | externals/grill/py/source/pybase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/py/source/pybase.cpp b/externals/grill/py/source/pybase.cpp index 20f16e13..d569a84c 100644 --- a/externals/grill/py/source/pybase.cpp +++ b/externals/grill/py/source/pybase.cpp @@ -192,7 +192,7 @@ pybase::pybase() , shouldexit(false),stoptick(0)
#endif
, detach(0)
- , xlate(true)
+ , pymsg(false)
{
PyThreadState *state = PyLockSys();
Py_INCREF(module_obj);
@@ -453,7 +453,7 @@ void pybase::AddCurrentPath(t_canvas *cnv) bool pybase::OutObject(flext_base *ext,int o,PyObject *obj)
{
flext::AtomListStatic<16> lst;
- const t_symbol *sym = xlate?GetPyArgs(lst,obj):GetPyAtom(lst,obj);
+ const t_symbol *sym = pymsg?GetPyAtom(lst,obj):GetPyArgs(lst,obj);
if(sym) {
// call to outlet _outside_ the Mutex lock!
// otherwise (if not detached) deadlock will occur
|