Browse Source

Removed unnessasary unsafe in extern methods.

pull/10/head
Tom Spilman 12 years ago
parent
commit
aff035be93
  1. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

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

@ -1785,7 +1785,7 @@ namespace CppSharp.Generators.CSharp
@params.Add("int " + GeneratedIdentifier("forBases")); @params.Add("int " + GeneratedIdentifier("forBases"));
} }
WriteLine("public unsafe static extern {0} {1}({2});", retType, WriteLine("public static extern {0} {1}({2});", retType,
GetFunctionIdentifier(function), GetFunctionIdentifier(function),
string.Join(", ", @params)); string.Join(", ", @params));
NeedNewLine(); NeedNewLine();

Loading…
Cancel
Save