diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-07-19 13:18:33 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-07-19 13:18:33 +0000 |
commit | 8994dac676a881dce818238d4519182a8bf635ea (patch) | |
tree | 4ff2fe3c64fcf70b6e62f3fa72a719177228db9a /externals/grill/py/source/main.h | |
parent | ad51a5256a81891061f4c1cc729c718029beb128 (diff) |
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
Diffstat (limited to 'externals/grill/py/source/main.h')
-rw-r--r-- | externals/grill/py/source/main.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/externals/grill/py/source/main.h b/externals/grill/py/source/main.h index 479c082d..86098b4c 100644 --- a/externals/grill/py/source/main.h +++ b/externals/grill/py/source/main.h @@ -25,11 +25,14 @@ WARRANTIES, see the file, "license.txt," in this distribution. #define PY_STOP_TICK 1 // ms +class pybase; + class FifoEl : public Fifo::Cell { public: - void Set(PyObject *f,PyObject *a) { fun = f,args = a; } + void Set(pybase *t,PyObject *f,PyObject *a) { th = t,fun = f,args = a; } + pybase *th; PyObject *fun,*args; }; |