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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Mar 21 14:53:38 EDT 2008


Author: matju
Date: Fri Mar 21 14:53:38 2008
New Revision: 3276

Log:
move this error message to pd console (was annoyingly in the terminal)

Modified:
    trunk/rubyext.c

Modified: trunk/rubyext.c
==============================================================================
--- trunk/rubyext.c (original)
+++ trunk/rubyext.c Fri Mar 21 14:53:38 2008
@@ -940,7 +940,7 @@
 	post("DIR = %s",rb_str_ptr(EVAL("GridFlow::DIR.inspect")));
 	EVAL("$:.unshift GridFlow::DIR+'/..', GridFlow::DIR, GridFlow::DIR+'/optional/rblti'");
 	if (!EVAL("begin require 'gridflow'; true; rescue Exception => e; "
-		"STDERR.puts \"[#{e.class}] [#{e.message}]:\n#{e.backtrace.join'\n'}\"; false; end"))
+		"GridFlow.post \"[#{e.class}] [#{e.message}]:\n#{e.backtrace.join'\n'}\"; false; end"))
 	{
 		post("ERROR: Cannot load GridFlow-for-Ruby (gridflow.so)\n");
 		return;



More information about the Gridflow-cvs mailing list