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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Apr 16 00:12:33 EDT 2008


Author: matju
Date: Wed Apr 16 00:12:32 2008
New Revision: 3550

Log:
remove send_out

Modified:
    trunk/rubyext.c

Modified: trunk/rubyext.c
==============================================================================
--- trunk/rubyext.c (original)
+++ trunk/rubyext.c Wed Apr 16 00:12:32 2008
@@ -516,20 +516,6 @@
 		argv[0] = inlet*2+1; // convert to Ruby Integer
 	} else sprintf(buf,"_%d_%s",inlet,rb_sym_name(sym));
 	rb_funcall_myrescue2(rself,rb_intern(buf),argc,argv);
-}
-
-void FObject_send_out (int argc, Ruby *argv, Ruby rself) {
-	DGS(FObject);
-	if (argc<1) RAISE("not enough args");
-	int outlet = INT(*argv);
-	if (outlet<0 || outlet>=64) RAISE("invalid outlet number: %d",outlet);
-	argc--, argv++;
-	Ruby sym;
-	FObject_prepare_message(argc,argv,sym,self);
-	t_atom sel, at[argc];
-	Bridge_export_value(sym,&sel);
-	for (int i=0; i<argc; i++) Bridge_export_value(argv[i],at+i);
-	outlet_anything(self->bself->out[outlet],atom_getsymbol(&sel),argc,at);
 }
 
 Ruby FObject_s_new(Ruby argc, Ruby *argv, Ruby qlass) {
@@ -711,7 +697,6 @@
 	SDEF(FObject,add_creator,1);
 	Ruby fo = cFObject;
 	rb_define_method(fo,"args",        (RMethod)FObject_args,0);
-	rb_define_method(fo,"send_out",    (RMethod)FObject_send_out,-1);
 	rb_define_method(fo,"delete",      (RMethod)FObject_delete,0);
 	rb_define_method(fo,"initialize",  (RMethod)FObject_dummy,-1);
 	rb_define_method(fo,"initialize2", (RMethod)FObject_dummy,-1);



More information about the Gridflow-cvs mailing list