Browse Source

[ast] QualifiedType in ITypedDecl is now a setter.

pull/935/head
Joao Matos 8 years ago
parent
commit
a158577241
  1. 2
      src/AST/Declaration.cs
  2. 6
      src/AST/Function.cs

2
src/AST/Declaration.cs

@ -12,7 +12,7 @@ namespace CppSharp.AST @@ -12,7 +12,7 @@ namespace CppSharp.AST
public interface ITypedDecl
{
Type Type { get; }
QualifiedType QualifiedType { get; }
QualifiedType QualifiedType { get; set; }
}
public interface INamedDecl

6
src/AST/Function.cs

@ -259,6 +259,10 @@ namespace CppSharp.AST @@ -259,6 +259,10 @@ namespace CppSharp.AST
}
public Type Type => ReturnType.Type;
public QualifiedType QualifiedType => ReturnType;
public QualifiedType QualifiedType
{
get { return ReturnType; }
set { ReturnType = value; }
}
}
}
Loading…
Cancel
Save