Browse Source

Added support for typedef declarations.

pull/1/head
triton 13 years ago
parent
commit
cde619bf4c
  1. 16
      src/Bridge/Declaration.cs

16
src/Bridge/Declaration.cs

@ -1,7 +1,4 @@ @@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
namespace Cxxi
namespace Cxxi
{
/// <summary>
/// Represents a C++ declaration.
@ -15,7 +12,7 @@ namespace Cxxi @@ -15,7 +12,7 @@ namespace Cxxi
public string BriefComment;
// Namespace the type is declared in.
public Namespace Namespace;
//public Namespace Namespace;
// Wether the type should be ignored.
public bool Ignore;
@ -38,6 +35,15 @@ namespace Cxxi @@ -38,6 +35,15 @@ namespace Cxxi
}
}
/// <summary>
/// Represents a type definition in C++.
/// </summary>
public class Typedef : Declaration
{
/// Type defined.
public Type Type;
}
/// <summary>
/// Represents a C preprocessor macro definition.
/// </summary>

Loading…
Cancel
Save