generator: NativeStructGen needs to be partial
This commit is contained in:
parent
50f07d17ad
commit
587f0f56e7
1 changed files with 1 additions and 1 deletions
|
@ -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