mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 16:15:35 +00:00
generator: fixed NativeStructGen's formatting
This commit is contained in:
parent
c5b04cb70e
commit
f6fef3a402
|
@ -132,10 +132,11 @@ namespace GtkSharp.Generation
|
||||||
sw.WriteLine ("\t\t{");
|
sw.WriteLine ("\t\t{");
|
||||||
sw.WriteLine ("\t\t\tthis.Handle = raw;");
|
sw.WriteLine ("\t\t\tthis.Handle = raw;");
|
||||||
sw.WriteLine ("\t\t}");
|
sw.WriteLine ("\t\t}");
|
||||||
sw.WriteLine ();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
sw.Write ("public {0} (IntPtr raw) : base (raw) {{}}", Name);
|
sw.Write ("\t\tpublic {0} (IntPtr raw) : base (raw) {{}}", Name);
|
||||||
|
|
||||||
|
sw.WriteLine ();
|
||||||
|
|
||||||
base.GenCtors (gen_info);
|
base.GenCtors (gen_info);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue