Browse Source

Merge pull request #10 from SickheadGames/rm-unsafe

Removed Unsafe
pull/12/merge
João Matos 13 years ago
parent
commit
64a253c63a
  1. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

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

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

Loading…
Cancel
Save