]> granicus.if.org Git - graphviz/commitdiff
fiddling...
authorellson <devnull@localhost>
Fri, 22 Jul 2005 03:57:41 +0000 (03:57 +0000)
committerellson <devnull@localhost>
Fri, 22 Jul 2005 03:57:41 +0000 (03:57 +0000)
tclpkg/gv/Makefile.am
tclpkg/gv/test.cs

index 6207f0fcf163a560e15ae28db54f08aeebf12abe..36924bd61cf759ea0e9fc3a4c4b4a180b1f1bdaf 100644 (file)
@@ -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
index bf36e128b9c2ae0af039fe507c604cc42a46dc5f..f8254e00936525217010794d2e994c67f8ba92e9 100644 (file)
@@ -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);