diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
commit | 60ee6bb60b11bbfbccf56f335c9c6213e6daa79d (patch) | |
tree | 99b0c72c60aeba5d1a0489aae9edd16f371d965c /externals/grill/py/source/clmeth.cpp | |
parent | bbd9d289d152f6ef085dec680f0b1611c29f0e32 (diff) |
""
svn path=/trunk/; revision=278
Diffstat (limited to 'externals/grill/py/source/clmeth.cpp')
-rw-r--r-- | externals/grill/py/source/clmeth.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/externals/grill/py/source/clmeth.cpp b/externals/grill/py/source/clmeth.cpp index 0a30d1f7..283f52e9 100644 --- a/externals/grill/py/source/clmeth.cpp +++ b/externals/grill/py/source/clmeth.cpp @@ -230,7 +230,6 @@ PyObject *pyext::pyext_tocanvas(PyObject *,PyObject *args) if(self && PyInstance_Check(self)) { pyext *ext = GetThis(self); -#ifdef PD I sz = PySequence_Size(args); PyObject *val; BL tp = sz == 2 && PySequence_Check(PyTuple_GetItem(args,1)); @@ -245,13 +244,13 @@ PyObject *pyext::pyext_tocanvas(PyObject *,PyObject *args) t_glist *gl = ext->thisCanvas(); //canvas_getcurrent(); t_class **cl = (t_pd *)gl; if(cl) { -#ifdef PD +#if FLEXT_SYS == FLEXT_SYS_PD pd_forwardmess(cl,lst->Count(),lst->Atoms()); #else - #pragma message ("Send is not implemented") +#pragma message ("Send is not implemented") #endif } -#ifdef _DEBUG +#ifdef FLEXT_DEBUG else post("pyext - no parent canvas?!"); #endif @@ -262,9 +261,6 @@ PyObject *pyext::pyext_tocanvas(PyObject *,PyObject *args) if(lst) delete lst; if(!tp) Py_DECREF(val); -#else -#pragma message ("Not implemented for MaxMSP") -#endif } } |