diff --git a/src/Generator/Passes/CheckIgnoredDecls.cs b/src/Generator/Passes/CheckIgnoredDecls.cs index e77566f0..11598ab6 100644 --- a/src/Generator/Passes/CheckIgnoredDecls.cs +++ b/src/Generator/Passes/CheckIgnoredDecls.cs @@ -11,6 +11,9 @@ namespace CppSharp.Passes public override bool VisitDeclaration(Declaration decl) { + if (decl.ExplicityIgnored) + return false; + if (decl.IsDependent) { decl.ExplicityIgnored = true;