From 35be46f06f5768f64013aa1f648dccd3f44d97e1 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Sun, 23 Jul 2017 23:03:44 +0100 Subject: [PATCH] Emit private modifier for binding points --- src/Generator.Bind/CSharpSpecWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator.Bind/CSharpSpecWriter.cs b/src/Generator.Bind/CSharpSpecWriter.cs index 93a0f2d2..1f10fbd0 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++; }