aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/scripts/sendrecv.py
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-19 04:58:36 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-19 04:58:36 +0000
commit6138980e885884ef96b726f695fb038e2b939935 (patch)
tree764c56a9a16e4175699ba9fd5cb45a9a3282fe46 /externals/grill/py/scripts/sendrecv.py
parent86ecf983a799e73b54a13616e5fda6b268c20e5e (diff)
- a bit more functions for the symbol type
- exporting symbol functions corrected argument passing to class methods updated for OSX adjust pd and py files for correct argument passing svn path=/trunk/; revision=2523
Diffstat (limited to 'externals/grill/py/scripts/sendrecv.py')
-rw-r--r--externals/grill/py/scripts/sendrecv.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/externals/grill/py/scripts/sendrecv.py b/externals/grill/py/scripts/sendrecv.py
index e3295ab6..a8b57469 100644
--- a/externals/grill/py/scripts/sendrecv.py
+++ b/externals/grill/py/scripts/sendrecv.py
@@ -1,6 +1,6 @@
# py/pyext - python script objects for PD and MaxMSP
#
-# Copyright (c) 2002-2003 Thomas Grill (xovo@gmx.net)
+# Copyright (c) 2002-2005 Thomas Grill (gr@grrrr.org)
# For information on usage and redistribution, and for a DISCLAIMER OF ALL
# WARRANTIES, see the file, "license.txt," in this distribution.
#
@@ -49,7 +49,7 @@ class ex1(pyext._class):
recvname=""
sendname=""
- def recv(self,arg):
+ def recv(self,*arg):
"""This is a class-local receive function, which has access to class members."""
# print some stuff
@@ -59,7 +59,7 @@ class ex1(pyext._class):
self._send(self.sendname,arg)
- def __init__(self,args):
+ def __init__(self,*args):
"""Class constructor"""
# store sender/receiver names
@@ -100,7 +100,7 @@ class ex2(pyext._class):
recvname=""
- def recv(self,arg):
+ def recv(self,*arg):
"""This is a class-local receive function"""
# send received data to outlet