From: ellson Date: Fri, 22 Jul 2005 03:57:41 +0000 (+0000) Subject: fiddling... X-Git-Tag: LAST_LIBGRAPH~32^2~7380 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ee6706d3da0e097ea1e5ac00148d0da0d5cca46;p=graphviz fiddling... --- diff --git a/tclpkg/gv/Makefile.am b/tclpkg/gv/Makefile.am index 6207f0fcf..36924bd61 100644 --- a/tclpkg/gv/Makefile.am +++ b/tclpkg/gv/Makefile.am @@ -154,7 +154,7 @@ test_csharp: libgv_csharp.la ln -fs ../.libs/libgv_csharp.so gv.so; \ ln -fs ../*.dot ../*.cs .; \ $(CSHARP) *.cs -out:test.exe; \ - $(CSHARP) test.exe) + mono test.exe) .PHONY: test_guile test_guile: libgv_guile.la diff --git a/tclpkg/gv/test.cs b/tclpkg/gv/test.cs index bf36e128b..f8254e009 100644 --- a/tclpkg/gv/test.cs +++ b/tclpkg/gv/test.cs @@ -1,5 +1,7 @@ // test.cs +using System; + public class test { static void Main() { SWIGTYPE_p_Agraph_t g, sg; @@ -7,18 +9,18 @@ public class test { SWIGTYPE_p_Agedge_t e; g = gv.digraph("G"); - System.Console.WriteLine(gv.set(g,"aaa","xxx")); - System.Console.WriteLine(gv.set(g,"aaa")); + Console.WriteLine(gv.set(g,"aaa","xxx")); + Console.WriteLine(gv.set(g,"aaa")); sg = gv.graph(g,"SG"); n = gv.node(g,"hello"); - System.Console.WriteLine(gv.set(n,"label")); - System.Console.WriteLine(gv.set(n,"aaa","xxx")); - System.Console.WriteLine(gv.set(n,"aaa")); + Console.WriteLine(gv.set(n,"label")); + Console.WriteLine(gv.set(n,"aaa","xxx")); + Console.WriteLine(gv.set(n,"aaa")); m = gv.node(g,"world"); - System.Console.WriteLine(gv.set(m,"aaa")); + Console.WriteLine(gv.set(m,"aaa")); e = gv.edge(n,m); - System.Console.WriteLine(gv.set(e,"aaa","xxx")); - System.Console.WriteLine(gv.set(e,"aaa")); + Console.WriteLine(gv.set(e,"aaa","xxx")); + Console.WriteLine(gv.set(e,"aaa")); gv.rm(e); gv.rm(n); gv.rm(m);