Browse Source

Fixed the generation of unions by considering all unions non-reference types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/46/head
Dimitar Dobrev 12 years ago
parent
commit
7971d0a33e
  1. 2
      src/AST/Class.cs

2
src/AST/Class.cs

@ -145,7 +145,7 @@ namespace CppSharp.AST
public bool IsRefType public bool IsRefType
{ {
get { return Type == ClassType.RefType; } get { return Type == ClassType.RefType && !IsUnion; }
} }
public IEnumerable<Method> Constructors public IEnumerable<Method> Constructors

Loading…
Cancel
Save