From 8994dac676a881dce818238d4519182a8bf635ea Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 19 Jul 2005 13:18:33 +0000 Subject: better exception handling and error message much better detach method handling (one thread for all object instances) oops, forgot to code one branch better definition of output values (atoms, lists, anythings) svn path=/trunk/; revision=3360 --- externals/grill/py/source/pyext.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'externals/grill/py/source/pyext.cpp') diff --git a/externals/grill/py/source/pyext.cpp b/externals/grill/py/source/pyext.cpp index a48a45ed..4252e64a 100644 --- a/externals/grill/py/source/pyext.cpp +++ b/externals/grill/py/source/pyext.cpp @@ -41,7 +41,7 @@ void pyext::Setup(t_classid c) FLEXT_CADDMETHOD_(c,0,"get",m_get); FLEXT_CADDMETHOD_(c,0,"set",m_set); - FLEXT_CADDATTR_VAR1(c,"xlate",xlate); + FLEXT_CADDATTR_VAR1(c,"py",xlate); FLEXT_CADDATTR_VAR1(c,"respond",respond); // ---------------------------------------------------- @@ -120,8 +120,6 @@ pyext::pyext(int argc,const t_atom *argv,bool sig): { #ifdef FLEXT_THREADS FLEXT_ADDTIMER(stoptmr,tick); - // launch thread worker - FLEXT_CALLMETHOD(threadworker); #endif if(argc >= 2 && CanbeInt(argv[0]) && CanbeInt(argv[1])) { @@ -629,8 +627,3 @@ void pyext::DumpOut(const t_symbol *sym,int argc,const t_atom *argv) { ToOutAnything(GetOutAttr(),sym?sym:thisTag(),argc,argv); } - -bool pyext::thrcall(void *data) -{ - return FLEXT_CALLMETHOD_X(work_wrapper,data); -} -- cgit v1.2.1