Browse Source

Reorganized declarations. Added support for field offsets.

pull/1/head
triton 13 years ago
parent
commit
7bc569fe90
  1. 9
      src/Bridge/Field.cs

9
src/Bridge/Field.cs

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
using System;
namespace Cxxi
{
/// <summary>
@ -7,6 +5,10 @@ namespace Cxxi @@ -7,6 +5,10 @@ namespace Cxxi
/// </summary>
public class Field : Declaration
{
public Type Type;
public AccessSpecifier Access;
public uint Offset = 0;
public Field()
{
}
@ -17,8 +19,5 @@ namespace Cxxi @@ -17,8 +19,5 @@ namespace Cxxi
Type = type;
Access = access;
}
public Type Type { get; set; }
public AccessSpecifier Access { get; set; }
}
}
Loading…
Cancel
Save