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("[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>");
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue