diff --git a/src/Generator/LibraryHelpers.cs b/src/Generator/LibraryHelpers.cs index adb535a8..136d4eda 100644 --- a/src/Generator/LibraryHelpers.cs +++ b/src/Generator/LibraryHelpers.cs @@ -238,8 +238,7 @@ namespace Cxxi public void IgnoreFunctionWithName(string name) { - Function function = FindFunction(name); - if (function != null) + foreach (var function in FindFunction(name)) function.ExplicityIgnored = true; }