diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-12-17 05:04:29 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-12-17 05:04:29 +0000 |
commit | e306932afa409fe7a07ed9126a6766139c579754 (patch) | |
tree | 4d73704638e2bc99b3460edd09d249094e535f2a /externals/grill/py/source | |
parent | f38b827252320ae0fdacce3d418058cca3b84bce (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')
-rw-r--r-- | externals/grill/py/source/clmeth.cpp | 6 | ||||
-rw-r--r-- | externals/grill/py/source/main.h | 4 |
2 files changed, 5 insertions, 5 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"); diff --git a/externals/grill/py/source/main.h b/externals/grill/py/source/main.h index 3aed0f10..6dde3f54 100644 --- a/externals/grill/py/source/main.h +++ b/externals/grill/py/source/main.h @@ -24,8 +24,8 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include <unistd.h> #endif -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 406) -#error You need at least flext version 0.4.6 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 408) +#error You need at least flext version 0.4.8 #endif #define PY__VERSION "0.2.0pre" |