Browse Source

Use the enumerable version of FindFunction in the IgnoreFunctionWithName helper.

pull/1/head
triton 13 years ago
parent
commit
019a840347
  1. 3
      src/Generator/LibraryHelpers.cs

3
src/Generator/LibraryHelpers.cs

@ -238,8 +238,7 @@ namespace Cxxi
public void IgnoreFunctionWithName(string name) public void IgnoreFunctionWithName(string name)
{ {
Function function = FindFunction(name); foreach (var function in FindFunction(name))
if (function != null)
function.ExplicityIgnored = true; function.ExplicityIgnored = true;
} }

Loading…
Cancel
Save