mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02: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 New Issue
Block a user