+2005-05-08 Alp Toker <alp@atoker.com>
+
+ * cilc.cs: Add null check to NsToC and fix warnings.
+
2005-01-20 Alp Toker <alp@atoker.com>
* cilc.cs: Name the glib handle getter helper method by namespace for now to
string line;
while ((line = p.StandardOutput.ReadLine ()) != null)
- Console.Write (".");
+ if (verbose)
+ Console.WriteLine (line);
+ else
+ Console.Write (".");
Console.WriteLine ();
return p.ExitCode;
}
- static string cflags;
+ static bool verbose = false;
+
static string extpkgs = "";
static string[] extsubpkgs = {};
static string[] extincludes = {};
if (m.Success) {
string G = m.Groups[2].Value;
- bool dontgen = false;
-
if (!GIsValid (G))
continue;
NewG (CsTypeToFlat (t));
}
+ /*
static string NewG (Type t)
{
return NewG (CsTypeToFlat (t));
}
+ */
static string CsTypeToG (Type t)
{
funcs_done.Add (myname);
//handle the parameters
- string param_assign = "";
string mycsargs = "";
for (int i = 0 ; i < parameters.Length ; i++) {
static string NsToC (string s)
{
+ if (s == null)
+ return "";
+
s = s.Replace ('.', '_');
return CamelToC (s);
}