From 41076d73eefcc09b9c0044f3cb11e4bf83a0c672 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Wed, 28 Jan 2009 21:47:05 +0000 Subject: Added bang method which does nothing. svn path=/trunk/externals/mrpeach/; revision=10671 --- tabfind/tabfind.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tabfind/tabfind.c') 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); -- cgit v1.2.1