Browse Source

Fixed EnumModifiers to define proper power of two values.

pull/238/head
triton 11 years ago
parent
commit
5c3ffc0e24
  1. 6
      src/AST/Enumeration.cs

6
src/AST/Enumeration.cs

@ -11,9 +11,9 @@ namespace CppSharp.AST @@ -11,9 +11,9 @@ namespace CppSharp.AST
[Flags]
public enum EnumModifiers
{
Anonymous,
Scoped,
Flags
Anonymous = 1 << 0,
Scoped = 1 << 1,
Flags = 1 << 2,
}
/// <summary>

Loading…
Cancel
Save