[Gridflow-cvs] [svn] commit: r3442 - /trunk/rubyext.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Apr 3 23:28:42 EDT 2008


Author: matju
Date: Thu Apr  3 23:28:41 2008
New Revision: 3442

Log:
remove [bindpatcher] (duplicate of [namecanvas])

Modified:
    trunk/rubyext.c

Modified: trunk/rubyext.c
==============================================================================
--- trunk/rubyext.c (original)
+++ trunk/rubyext.c Thu Apr  3 23:28:41 2008
@@ -532,19 +532,6 @@
 }
 
 struct BFGridFlow : t_object {};
-
-t_class *bindpatcher;
-static void *bindpatcher_init (t_symbol *classsym, int ac, t_atom *at) {
-	t_pd *bself = pd_new(bindpatcher);
-	if (ac!=1 || at->a_type != A_SYMBOL) {
-		post("bindpatcher: oops");
-	} else {
-		t_symbol *s = atom_getsymbol(at);
-		post("binding patcher to: %s",s->s_name);
-		pd_bind((t_pd *)canvas_getcurrent(),s);
-	}
-	return bself;
-}
 
 static t_clock *hack;
 
@@ -886,7 +873,6 @@
 	STARTUP_LIST()
 	EVAL("GridFlow.load_user_config");
 // end Init_gridflow
-	bindpatcher = class_new(gensym("bindpatcher"), (t_newmethod)bindpatcher_init, 0, sizeof(t_object),CLASS_DEFAULT,A_GIMME,0);
 	delete[] dirresult;
 	delete[] dirname;
 	hack = clock_new((void*)0,(t_method)ruby_stack_end_hack);



More information about the Gridflow-cvs mailing list