Revision: 10671 http://pure-data.svn.sourceforge.net/pure-data/?rev=10671&view=rev Author: mrpeach Date: 2009-01-28 21:47:05 +0000 (Wed, 28 Jan 2009)
Log Message: ----------- Added bang method which does nothing.
Modified Paths: -------------- trunk/externals/mrpeach/tabfind/tabfind.c
Modified: trunk/externals/mrpeach/tabfind/tabfind.c =================================================================== --- trunk/externals/mrpeach/tabfind/tabfind.c 2009-01-28 21:45:26 UTC (rev 10670) +++ trunk/externals/mrpeach/tabfind/tabfind.c 2009-01-28 21:47:05 UTC (rev 10671) @@ -19,6 +19,7 @@ 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_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 @@ { 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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.