Browse Source

Moved declarations around in Declaration.cs.

pull/1/head
triton 13 years ago
parent
commit
14722e5757
  1. 34
      src/Bridge/Declaration.cs

34
src/Bridge/Declaration.cs

@ -8,20 +8,6 @@ namespace Cxxi
/// </summary> /// </summary>
public class Declaration public class Declaration
{ {
public Declaration()
{
}
public Declaration(string name)
{
Name = name;
}
public override string ToString()
{
return Name;
}
// Name of the type. // Name of the type.
public string Name; public string Name;
@ -36,6 +22,20 @@ namespace Cxxi
// Contains a debug text of the type declaration. // Contains a debug text of the type declaration.
public string DebugText; public string DebugText;
public Declaration()
{
}
public Declaration(string name)
{
Name = name;
}
public override string ToString()
{
return Name;
}
} }
/// <summary> /// <summary>
@ -43,11 +43,11 @@ namespace Cxxi
/// </summary> /// </summary>
public class MacroDefine : Declaration public class MacroDefine : Declaration
{ {
// Contains the macro definition text.
public string Expression;
public MacroDefine() public MacroDefine()
{ {
} }
// Contains the macro definition text.
public string Expression;
} }
} }
Loading…
Cancel
Save