[Gridflow-cvs] [svn] commit: r3402 - /trunk/base/main.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Apr 2 02:57:33 EDT 2008


Author: matju
Date: Wed Apr  2 02:57:33 2008
New Revision: 3402

Log:
remove GridFlow.exec

Modified:
    trunk/base/main.c

Modified: trunk/base/main.c
==============================================================================
--- trunk/base/main.c (original)
+++ trunk/base/main.c Wed Apr  2 02:57:33 2008
@@ -315,14 +315,6 @@
 //----------------------------------------------------------------
 // GridFlow.class
 //\class GridFlow_s < patate
-
-typedef void (*Callback)(void*);
-static Ruby GridFlow_exec (Ruby rself, Ruby data, Ruby func) {
-	void *data2 = FIX2PTR(void,data);
-	Callback func2 = (Callback) FIX2PTR(void,func);
-	func2(data2);
-	return Qnil;
-}
 
 static Ruby GridFlow_get_id (Ruby rself, Ruby arg) {
 	fprintf(stderr,"%ld\n",arg);
@@ -439,7 +431,6 @@
 BUILTIN_SYMBOLS(FOO)
 #undef FOO
 	mGridFlow = EVAL("module GridFlow; CObject = ::Object; class<<self; end; def post_string(s) STDERR.puts s end; self end");
-	SDEF2("exec",GridFlow_exec,2);
 	SDEF2("get_id",GridFlow_get_id,1);
 	SDEF2("rdtsc",GridFlow_rdtsc,0);
 	SDEF2("handle_braces!",GridFlow_handle_braces,1);



More information about the Gridflow-cvs mailing list