Browse Source

Check for typedefs in HasDeclarations.

pull/53/merge
triton 12 years ago
parent
commit
2ae4f02edd
  1. 2
      src/AST/Namespace.cs

2
src/AST/Namespace.cs

@ -251,7 +251,7 @@ namespace CppSharp.AST @@ -251,7 +251,7 @@ namespace CppSharp.AST
get
{
Predicate<Declaration> pred = (t => !t.Ignore);
return Enums.Exists(pred) || HasFunctions
return Enums.Exists(pred) || HasFunctions || Typedefs.Exists(pred)
|| Classes.Exists(pred) || Namespaces.Exists(n => n.HasDeclarations);
}
}

Loading…
Cancel
Save