Browse Source

Wrapped units with ignored classes because of their internals.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/696/head
Dimitar Dobrev 9 years ago
parent
commit
1bcf5c514e
  1. 2
      src/AST/Namespace.cs

2
src/AST/Namespace.cs

@ -422,7 +422,7 @@ namespace CppSharp.AST
{ {
Func<Declaration, bool> pred = (t => t.IsGenerated); Func<Declaration, bool> pred = (t => t.IsGenerated);
return Enums.Exists(pred) || HasFunctions || Typedefs.Exists(pred) return Enums.Exists(pred) || HasFunctions || Typedefs.Exists(pred)
|| Classes.Any(pred) || Namespaces.Exists(n => n.HasDeclarations) || || Classes.Any() || Namespaces.Exists(n => n.HasDeclarations) ||
Templates.Any(pred); Templates.Any(pred);
} }
} }

Loading…
Cancel
Save