generator: NativeStructGen needs to be partial

This commit is contained in:
Stephan Sundermann 2013-09-06 13:21:20 +02:00 committed by Andrés G. Aragoneses
parent 50f07d17ad
commit 587f0f56e7

View file

@ -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");
}