Merge pull request #592 from Frassle/bindings_style

Fix the binding generator to match recent handmade changes
This commit is contained in:
Jarl Gullberg 2017-07-24 16:06:05 +02:00 committed by GitHub
commit 7aef9a19b6
2 changed files with 3 additions and 3 deletions

View file

@ -252,7 +252,7 @@ namespace Bind
{
sw.WriteLine("[Slot({0})]", d.Slot);
sw.WriteLine("[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]");
sw.WriteLine("static extern {0};", GetDeclarationString(d, false));
sw.WriteLine("private static extern {0};", GetDeclarationString(d, false));
current_signature++;
}
@ -380,7 +380,7 @@ namespace Bind
}
if (!String.IsNullOrEmpty(docparam.Documentation))
{
sw.WriteLine(WriteOptions.NoIndent, " ");
sw.WriteLine(WriteOptions.NoIndent, "");
sw.WriteLine("/// {0}", docparam.Documentation);
sw.WriteLine("/// </param>");
}