mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-03-01 05:06:58 +00:00
generator: NativeStructGen needs to be partial
This commit is contained in:
parent
50f07d17ad
commit
587f0f56e7
|
@ -105,7 +105,7 @@ namespace GtkSharp.Generation
|
|||
StreamWriter sw = gen_info.Writer;
|
||||
|
||||
sw.WriteLine ("\t\t[StructLayout(LayoutKind.Sequential)]");
|
||||
sw.WriteLine ("\t\tprivate struct NativeStruct {");
|
||||
sw.WriteLine ("\t\tprivate partial struct NativeStruct {");
|
||||
foreach (StructField field in fields) {
|
||||
field.Generate (gen_info, "\t\t\t");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue