Browse Source

Added an helper method to find methods in a class by their original name.

pull/1/head
triton 12 years ago
parent
commit
5e4d263bb6
  1. 6
      src/Bridge/Class.cs

6
src/Bridge/Class.cs

@ -186,6 +186,12 @@ namespace CppSharp @@ -186,6 +186,12 @@ namespace CppSharp
.ToList();
}
public IList<Method> FindMethodByOriginalName(string name)
{
return Methods.Where(method => method.OriginalName == name)
.ToList();
}
public IList<Function> GetFunctionOverloads(Function function)
{
return Methods.Where(method => method.Name == function.Name)

Loading…
Cancel
Save