Browse Source

Parameters can now store what type of conversion they need.

pull/1/head
triton 13 years ago
parent
commit
816d90c99c
  1. 3
      src/Bridge/Function.cs

3
src/Bridge/Function.cs

@ -28,6 +28,7 @@ namespace Cxxi @@ -28,6 +28,7 @@ namespace Cxxi
Usage = ParameterUsage.Unknown;
HasDefaultValue = false;
IsConst = false;
Conversion = TypeConversionKind.None;
}
public Type Type { get; set; }
@ -35,6 +36,8 @@ namespace Cxxi @@ -35,6 +36,8 @@ namespace Cxxi
public bool HasDefaultValue { get; set; }
public bool IsConst { get; set; }
public TypeConversionKind Conversion { get; set; }
public override T Visit<T>(IDeclVisitor<T> visitor)
{
return visitor.VisitParameterDecl(this);

Loading…
Cancel
Save