From 4215d864c0baf21a4f67ed3fe44e642b84708197 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 5 Mar 2003 04:40:52 +0000 Subject: "" svn path=/trunk/; revision=453 --- externals/grill/py/source/main.h | 4 ++-- externals/grill/py/source/modmeth.cpp | 13 +++---------- 2 files changed, 5 insertions(+), 12 deletions(-) (limited to 'externals/grill/py') 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 #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 -- cgit v1.2.1