Browse Source

Fixed the support for static methods.

pull/1/head
triton 13 years ago
parent
commit
66a3127520
  1. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

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

@ -1418,7 +1418,7 @@ namespace Cxxi.Generators.CSharp
}); });
var method = function as Method; var method = function as Method;
if (method != null) if (method != null && !method.IsStatic)
{ {
@params.Add("System.IntPtr instance"); @params.Add("System.IntPtr instance");

Loading…
Cancel
Save