Emit private modifier for binding points

This commit is contained in:
Fraser Waters 2017-07-23 23:03:44 +01:00
parent 5e5fc2adaa
commit 35be46f06f

View file

@ -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++;
} }