aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/pyext.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-11-26 22:35:57 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-11-26 22:35:57 +0000
commit7017ea71b842451548451125d10acd5c27086e3b (patch)
treeee55af9f9f4f9b2b1c060545763e553a85e6963d /externals/grill/py/source/pyext.h
parentae094b15eab3b833bf69a8c26492dc022d09e5fb (diff)
""
svn path=/trunk/; revision=262
Diffstat (limited to 'externals/grill/py/source/pyext.h')
-rw-r--r--externals/grill/py/source/pyext.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/externals/grill/py/source/pyext.h b/externals/grill/py/source/pyext.h
index 2aba0e8e..f0baf310 100644
--- a/externals/grill/py/source/pyext.h
+++ b/externals/grill/py/source/pyext.h
@@ -19,7 +19,7 @@ class pyext:
FLEXT_HEADER_S(pyext,py,setup)
public:
- pyext(I argc,t_atom *argv);
+ pyext(I argc,const t_atom *argv);
~pyext();
static PyObject *pyext__doc__(PyObject *,PyObject *args);
@@ -41,10 +41,10 @@ public:
protected:
BL m_method_(I n,const t_symbol *s,I argc,t_atom *argv);
- BL work(I n,const t_symbol *s,I argc,t_atom *argv);
+ BL work(I n,const t_symbol *s,I argc,const t_atom *argv);
V m_reload();
- V m_reload_(I argc,t_atom *argv);
+ V m_reload_(I argc,const t_atom *argv);
V m_doc_();
virtual V m_help();
@@ -87,7 +87,7 @@ private:
// bool cmp(PyObject *s,PyObject *f) const { return self == s && func == f; }
// void init(PyObject *s,char *f) { self = s,func = f,nxt = NULL; }
// bool cmp(PyObject *s,char *f) const { return self == s && func == f; }
- static void px_method(py_proxy *c,const t_symbol *s,int argc,t_atom *argv);
+ static void px_method(py_proxy *c,const t_symbol *s,int argc,const t_atom *argv);
};
static py_proxy *px_head,*px_tail;
@@ -96,16 +96,16 @@ private:
// ---------------------------
- PyObject *call(const C *meth,I inlet,const t_symbol *s,I argc,t_atom *argv);
+ PyObject *call(const C *meth,I inlet,const t_symbol *s,I argc,const t_atom *argv);
V work_wrapper(void *data);
- BL callwork(I n,const t_symbol *s,I argc,t_atom *argv);
+ BL callwork(I n,const t_symbol *s,I argc,const t_atom *argv);
class work_data:
public flext::AtomAnything
{
public:
- work_data(I _n,const t_symbol *_s,I _argc,t_atom *_argv): n(_n),AtomAnything(_s,_argc,_argv) {}
+ work_data(I _n,const t_symbol *_s,I _argc,const t_atom *_argv): n(_n),AtomAnything(_s,_argc,_argv) {}
I n;
};