From: handa Date: Tue, 28 Apr 2009 06:28:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=0f115a1b41660e577f69d8823a081444439f60e1;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/M17N.cs b/M17N.cs index 154e9a8..fe469ae 100644 --- a/M17N.cs +++ b/M17N.cs @@ -29,5 +29,11 @@ namespace M17N if (debug) Console.Write (fmt, arg1, arg2); } + + public static void DebugPrint (string fmt, object arg1, object arg2, object arg3) + { + if (debug) + Console.Write (fmt, arg1, arg2, arg3); + } } } diff --git a/MDatabase.cs b/MDatabase.cs index 9a1b3e6..74c3ff3 100644 --- a/MDatabase.cs +++ b/MDatabase.cs @@ -326,12 +326,6 @@ namespace M17N.Core DBDirs[2] = new MDatabaseDir (Path.Combine (share_dir, "m17n")); } - private static void Update () - { - - } - - public static MDatabase Find (MDatabaseTag tag) { MDatabase db; diff --git a/mtext.cs b/mtext.cs index 4ed6e5d..07767d3 100644 --- a/mtext.cs +++ b/mtext.cs @@ -9,6 +9,8 @@ public class Test String str = "a𝄀あc"; MText mt = new MText (str); + Console.WriteLine ((object) str + mt); + Console.WriteLine ("{0}, Length={1}", mt, mt.Length); foreach (int c in mt) Console.WriteLine ("U+{0:X4}", c);