Merge pull request #592 from Frassle/bindings_style
Fix the binding generator to match recent handmade changes
This commit is contained in:
commit
7aef9a19b6
2 changed files with 3 additions and 3 deletions
|
@ -252,7 +252,7 @@ namespace Bind
|
||||||
{
|
{
|
||||||
sw.WriteLine("[Slot({0})]", d.Slot);
|
sw.WriteLine("[Slot({0})]", d.Slot);
|
||||||
sw.WriteLine("[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]");
|
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++;
|
current_signature++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -380,7 +380,7 @@ namespace Bind
|
||||||
}
|
}
|
||||||
if (!String.IsNullOrEmpty(docparam.Documentation))
|
if (!String.IsNullOrEmpty(docparam.Documentation))
|
||||||
{
|
{
|
||||||
sw.WriteLine(WriteOptions.NoIndent, " ");
|
sw.WriteLine(WriteOptions.NoIndent, "");
|
||||||
sw.WriteLine("/// {0}", docparam.Documentation);
|
sw.WriteLine("/// {0}", docparam.Documentation);
|
||||||
sw.WriteLine("/// </param>");
|
sw.WriteLine("/// </param>");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue