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

Loading…
Cancel
Save