mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 16:35:34 +00:00
2005-08-04 Mike Kestner <mkestner@novell.com>
* generator/Ctor.cs : call Finish and HandleException for static ctor method bodies. [Fixes #75493] svn path=/trunk/gtk-sharp/; revision=47998
This commit is contained in:
parent
e299e65c8a
commit
3e19a1d102
|
@ -1,3 +1,8 @@
|
||||||
|
2005-08-04 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* generator/Ctor.cs : call Finish and HandleException for static ctor
|
||||||
|
method bodies. [Fixes #75493]
|
||||||
|
|
||||||
2005-08-03 Mike Kestner <mkestner@novell.com>
|
2005-08-03 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* bootstrap : use gnome and vfs 2.10 api.
|
* bootstrap : use gnome and vfs 2.10 api.
|
||||||
|
|
|
@ -76,12 +76,15 @@ namespace GtkSharp.Generation {
|
||||||
|
|
||||||
Body.Initialize(gen_info, false, false, "");
|
Body.Initialize(gen_info, false, false, "");
|
||||||
|
|
||||||
sw.Write("\t\t\treturn ");
|
sw.Write("\t\t\t" + name + " result = ");
|
||||||
if (container_type is StructBase)
|
if (container_type is StructBase)
|
||||||
sw.Write ("{0}.New (", name);
|
sw.Write ("{0}.New (", name);
|
||||||
else
|
else
|
||||||
sw.Write ("new {0} (", name);
|
sw.Write ("new {0} (", name);
|
||||||
sw.WriteLine (CName + "(" + Body.GetCallString (false) + "));");
|
sw.WriteLine (CName + "(" + Body.GetCallString (false) + "));");
|
||||||
|
Body.Finish (sw, "");
|
||||||
|
Body.HandleException (sw, "");
|
||||||
|
sw.WriteLine ("\t\t\treturn result;");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Generate (GenerationInfo gen_info)
|
public void Generate (GenerationInfo gen_info)
|
||||||
|
|
Loading…
Reference in a new issue