Browse Source

Added an helper transform to set the name of a function.

pull/1/head
triton 13 years ago
parent
commit
e8804b7f63
  1. 6
      src/Generator/LibraryHelpers.cs

6
src/Generator/LibraryHelpers.cs

@ -242,6 +242,12 @@ namespace Cxxi @@ -242,6 +242,12 @@ namespace Cxxi
function.ExplicityIgnored = true;
}
public void SetNameOfFunction(string name, string newName)
{
foreach (var function in FindFunction(name))
function.Name = newName;
}
public void IgnoreClassMethodWithName(string className, string name)
{
foreach (var @class in FindClass(name))

Loading…
Cancel
Save