Browse Source

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

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

8
src/AST/Function.cs

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

Loading…
Cancel
Save