diff --git a/src/Generator.Bind/CSharpSpecWriter.cs b/src/Generator.Bind/CSharpSpecWriter.cs index 93a0f2d2..3b7a967b 100644 --- a/src/Generator.Bind/CSharpSpecWriter.cs +++ b/src/Generator.Bind/CSharpSpecWriter.cs @@ -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("/// "); } diff --git a/src/Generator.Bind/Specifications/License.txt b/src/Generator.Bind/Specifications/License.txt index cad9e383..4151957a 100644 --- a/src/Generator.Bind/Specifications/License.txt +++ b/src/Generator.Bind/Specifications/License.txt @@ -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: