aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/clmeth.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-12-17 05:04:29 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-12-17 05:04:29 +0000
commite306932afa409fe7a07ed9126a6766139c579754 (patch)
tree4d73704638e2bc99b3460edd09d249094e535f2a /externals/grill/py/source/clmeth.cpp
parentf38b827252320ae0fdacce3d418058cca3b84bce (diff)
support for Python threads, at last
output single atoms instead of 1-element lists small changes for release using flext build system svn path=/trunk/; revision=2398
Diffstat (limited to 'externals/grill/py/source/clmeth.cpp')
-rw-r--r--externals/grill/py/source/clmeth.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/grill/py/source/clmeth.cpp b/externals/grill/py/source/clmeth.cpp
index b1d1253a..d437f146 100644
--- a/externals/grill/py/source/clmeth.cpp
+++ b/externals/grill/py/source/clmeth.cpp
@@ -170,10 +170,10 @@ PyObject *pyext::pyext_outlet(PyObject *,PyObject *args)
// deadlock would occur if this was another py/pyext object!
if(lst->Count() && IsSymbol((*lst)[0]))
ext->ToQueueAnything(o-1,GetSymbol((*lst)[0]),lst->Count()-1,lst->Atoms()+1);
-// ext->ToOutAnything(o-1,GetSymbol((*lst)[0]),lst->Count()-1,lst->Atoms()+1);
- else
+ else if(lst->Count() > 1)
ext->ToQueueList(o-1,*lst);
-// ext->ToOutList(o-1,*lst);
+ else
+ ext->ToQueueAtom(o-1,*lst->Atoms());
}
else
post("pyext: outlet index out of range");