Browse Source

Fixed TypedefDecl to be a ITypedDecl too.

pull/1/head
triton 13 years ago
parent
commit
f91a2cbfd7
  1. 7
      src/Bridge/Declaration.cs

7
src/Bridge/Declaration.cs

@ -1,5 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
using Cxxi; using Cxxi;
namespace Cxxi namespace Cxxi
@ -95,10 +94,10 @@ namespace Cxxi
/// <summary> /// <summary>
/// Represents a type definition in C++. /// Represents a type definition in C++.
/// </summary> /// </summary>
public class TypedefDecl : Declaration public class TypedefDecl : Declaration, ITypedDecl
{ {
/// Type defined. /// Type defined.
public Type Type; public Type Type { get; set; }
public override T Visit<T>(IDeclVisitor<T> visitor) public override T Visit<T>(IDeclVisitor<T> visitor)
{ {

Loading…
Cancel
Save