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

View file

@ -5,7 +5,7 @@
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights to
// in the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do
// so, subject to the following conditions: