[Gridflow-cvs] [svn] commit: r3429 - in /trunk: base/flow_objects.rb rubyext.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Apr 3 20:42:06 EDT 2008


Author: matju
Date: Thu Apr  3 20:42:06 2008
New Revision: 3429

Log:
remove [sendgui] and GridFlow.gui

Modified:
    trunk/base/flow_objects.rb
    trunk/rubyext.c

Modified: trunk/base/flow_objects.rb
==============================================================================
--- trunk/base/flow_objects.rb (original)
+++ trunk/base/flow_objects.rb Thu Apr  3 20:42:06 2008
@@ -349,11 +349,7 @@
 		def _1_float(i) @i=i.to_i end
 		def _0_list(*a)
 			e=a[@i]
-			if Symbol===e then
-				send_out 0, :symbol, e
-			else
-				send_out 0, e
-			end
+			if Symbol===e then send_out 0, :symbol, e else send_out 0, e end
 		end
 	}
 	FObject.subclass("listsublist",3,1) {
@@ -885,14 +881,6 @@
   #doc_out:_0_float,"virtual size of RAM in kilobytes (includes swapped out and shared memory)"
 }
 
-FObject.subclass("sendgui",1,0) {
-  def _0_list(*x)
-    GridFlow.gui x.join(" ").gsub(/`/,";")+"\n"
-  end
-  install "sys_vgui", 1, 0
-  #doc:_0_list,"a Tcl/Tk command to send to the pd client."
-}
-
 end # module GridFlow
 
 class IO; include GridFlow::Ioctl; end

Modified: trunk/rubyext.c
==============================================================================
--- trunk/rubyext.c (original)
+++ trunk/rubyext.c Thu Apr  3 20:42:06 2008
@@ -344,12 +344,6 @@
 	if (qlassid==Qnil) RAISE("@bfclass==nil ???");
 	t_class *qlass = FIX2PTR(t_class,qlassid);
 	class_sethelpsymbol(qlass,gensym(rb_str_ptr(path)));
-	return Qnil;
-}
-static Ruby GridFlow_s_gui (int argc, Ruby *argv, Ruby rself) {
-	if (argc!=1) RAISE("bad args");
-	Ruby command = rb_funcall(argv[0],SI(to_s),0);
-	sys_gui(rb_str_ptr(command));
 	return Qnil;
 }
 



More information about the Gridflow-cvs mailing list