Browse Source

[ast] Added support for field acessors to functions (to be used by Embeddinator).

pull/828/head
Joao Matos 8 years ago
parent
commit
ae3b9f56a8
  1. 8
      src/AST/Function.cs

8
src/AST/Function.cs

@ -127,7 +127,8 @@ namespace CppSharp.AST @@ -127,7 +127,8 @@ namespace CppSharp.AST
AbstractImplCall,
DefaultValueOverload,
InterfaceInstance,
AdjustedMethod
AdjustedMethod,
FieldAcessor
}
public enum FriendKind
@ -244,6 +245,11 @@ namespace CppSharp.AST @@ -244,6 +245,11 @@ namespace CppSharp.AST
public string Signature { get; set; }
public string Body { get; set; }
/// <summary>
/// Field associated in case of synthetized field acessors.
/// </summary>
public Field Field { get; set; }
/// <summary>
/// Keeps an index that de-duplicates native names in the C# backend.
/// </summary>

Loading…
Cancel
Save