mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
520 B
19 lines
520 B
using System; |
|
|
|
namespace CppSharp.AST |
|
{ |
|
public class LayoutField |
|
{ |
|
public uint Offset { get; set; } |
|
public QualifiedType QualifiedType { get; set; } |
|
public string Name { get; set; } |
|
public IntPtr FieldPtr { get; set; } |
|
public bool IsVTablePtr { get { return FieldPtr == IntPtr.Zero; } } |
|
public Expression Expression { get; set; } |
|
|
|
public override string ToString() |
|
{ |
|
return string.Format("{0} | {1}", Offset, Name); |
|
} |
|
} |
|
} |