From feef6ee80d084478fdc808f62dec35bdd938e840 Mon Sep 17 00:00:00 2001 From: marcos henrich Date: Tue, 30 Jul 2013 12:04:10 +0100 Subject: [PATCH] Removed class parameter from CheckIgnoreFunction, CheckIgnoreMethod and CheckIgnoreField from recent commits. --- src/Generator/Generators/CLI/CLISourcesTemplate.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Generator/Generators/CLI/CLISourcesTemplate.cs b/src/Generator/Generators/CLI/CLISourcesTemplate.cs index fd1eaae0..83343ab8 100644 --- a/src/Generator/Generators/CLI/CLISourcesTemplate.cs +++ b/src/Generator/Generators/CLI/CLISourcesTemplate.cs @@ -125,7 +125,7 @@ namespace CppSharp.Generators.CLI foreach (var method in @class.Methods) { - if (ASTUtils.CheckIgnoreMethod(@class, method)) + if (ASTUtils.CheckIgnoreMethod(method)) continue; GenerateDeclarationCommon(method); @@ -522,7 +522,7 @@ namespace CppSharp.Generators.CLI foreach (var field in @class.Fields) { - if (ASTUtils.CheckIgnoreField(@class, field)) continue; + if (ASTUtils.CheckIgnoreField(field)) continue; var nativeField = string.Format("{0}{1}", nativeVar, field.OriginalName); @@ -660,7 +660,7 @@ namespace CppSharp.Generators.CLI foreach (var field in @class.Fields) { - if (ASTUtils.CheckIgnoreField(@class, field)) continue; + if (ASTUtils.CheckIgnoreField(field)) continue; var varName = string.Format("_native.{0}", field.OriginalName);