diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-03-05 04:40:52 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-03-05 04:40:52 +0000 |
commit | 4215d864c0baf21a4f67ed3fe44e642b84708197 (patch) | |
tree | 73adca0e1fd7fd30a0a1977e88fd14b3233b5cbb /externals/grill/py | |
parent | 69f7f0c33559cf90e7d6ce7c0ddbd5501af7b1de (diff) |
""
svn path=/trunk/; revision=453
Diffstat (limited to 'externals/grill/py')
-rw-r--r-- | externals/grill/py/source/main.h | 4 | ||||
-rw-r--r-- | externals/grill/py/source/modmeth.cpp | 13 |
2 files changed, 5 insertions, 12 deletions
diff --git a/externals/grill/py/source/main.h b/externals/grill/py/source/main.h index 52990fe0..ef28b7ec 100644 --- a/externals/grill/py/source/main.h +++ b/externals/grill/py/source/main.h @@ -18,8 +18,8 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include <unistd.h> #endif -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 401) -#error You need at least flext version 0.4.1 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 403) +#error You need at least flext version 0.4.3 #endif #define PY__VERSION "0.1.2pre" diff --git a/externals/grill/py/source/modmeth.cpp b/externals/grill/py/source/modmeth.cpp index 3d5c0a1d..83e8a7b6 100644 --- a/externals/grill/py/source/modmeth.cpp +++ b/externals/grill/py/source/modmeth.cpp @@ -142,18 +142,11 @@ PyObject *py::py_send(PyObject *,PyObject *args) AtomList *lst = GetPyArgs(val); if(lst) { -// t_class **cl = (t_class **)GetBound(recv); - t_class **cl = (t_class **)recv->s_thing; - if(cl) { -#if FLEXT_SYS == FLEXT_SYS_PD - pd_forwardmess(cl,lst->Count(),lst->Atoms()); -#else -#pragma message ("Send is not implemented") -#endif - } + if(!Forward(recv,*lst)) #ifdef FLEXT_DEBUG - else post("py/pyext - Receiver doesn't exist"); +#else + {} #endif } else |