Browse Source

Removed comments from internal functions. Changed their access from public to internal.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/114/head
Dimitar Dobrev 12 years ago
parent
commit
a24bc6c805
  1. 3
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

3
src/Generator/Generators/CSharp/CSharpTextTemplate.cs

@ -2339,7 +2339,6 @@ namespace CppSharp.Generators.CSharp @@ -2339,7 +2339,6 @@ namespace CppSharp.Generators.CSharp
function = function.OriginalFunction;
PushBlock(CSharpBlockKind.InternalsClassMethod);
GenerateDeclarationCommon(function);
WriteLine("[SuppressUnmanagedCodeSecurity]");
string libName = Options.SharedLibraryName;
@ -2409,7 +2408,7 @@ namespace CppSharp.Generators.CSharp @@ -2409,7 +2408,7 @@ namespace CppSharp.Generators.CSharp
@params.Add("int " + GeneratedIdentifier("forBases"));
}
WriteLine("public static extern {0} {1}({2});", retType,
WriteLine("internal static extern {0} {1}({2});", retType,
GetFunctionNativeIdentifier(function),
string.Join(", ", @params));
PopBlock(NewLineKind.BeforeNextBlock);

Loading…
Cancel
Save