Browse Source

Added default constructor to TranslationUnit.

pull/86/head
triton 12 years ago
parent
commit
61431f8595
  1. 5
      src/AST/TranslationUnit.cs

5
src/AST/TranslationUnit.cs

@ -10,6 +10,11 @@ namespace CppSharp.AST @@ -10,6 +10,11 @@ namespace CppSharp.AST
[DebuggerDisplay("File = {FileName}, Ignored = {Ignore}")]
public class TranslationUnit : Namespace
{
public TranslationUnit()
{
}
public TranslationUnit(string file)
{
Macros = new List<MacroDefinition>();

Loading…
Cancel
Save