aboutsummaryrefslogtreecommitdiff
path: root/tabfind
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2009-01-28 21:47:05 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2009-01-28 21:47:05 +0000
commit41076d73eefcc09b9c0044f3cb11e4bf83a0c672 (patch)
tree6cbc75457afc88e322a64136b23024b34cffec85 /tabfind
parent666ecc4903d8481122595b280a40b0f8b42d6654 (diff)
Added bang method which does nothing.
svn path=/trunk/externals/mrpeach/; revision=10671
Diffstat (limited to 'tabfind')
-rw-r--r--tabfind/tabfind.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tabfind/tabfind.c b/tabfind/tabfind.c
index e6dbd22..b0a6502 100644
--- a/tabfind/tabfind.c
+++ b/tabfind/tabfind.c
@@ -19,6 +19,7 @@ typedef struct _tabfind
t_int x_nth; /* which match to find */
} t_tabfind;
+static void tabfind_bang(t_tabfind *x);
static void tabfind_float(t_tabfind *x, t_float f);
static void tabfind_list(t_tabfind *x, t_symbol *s, int argc, t_atom *argv);
static void tabfind_nth(t_tabfind *x, t_float nth);
@@ -88,6 +89,10 @@ static void tabfind_list(t_tabfind *x, t_symbol *s, int argc, t_atom *argv)
}
}
+static void tabfind_bang(t_tabfind *x)
+{
+}
+
static void tabfind_float(t_tabfind *x, t_float f)
{
/* find the nth occurrence of the float f in the array */
@@ -143,6 +148,7 @@ void tabfind_setup(void)
{
tabfind_class = class_new(gensym("tabfind"), (t_newmethod)tabfind_new,
0, sizeof(t_tabfind), 0, A_DEFSYM, 0);
+ class_addbang(tabfind_class, (t_method)tabfind_bang);
class_addfloat(tabfind_class, (t_method)tabfind_float);
class_addlist(tabfind_class, (t_method)tabfind_list);
class_addmethod(tabfind_class, (t_method)tabfind_nth, gensym("nth"), A_FLOAT, 0);