|
|
@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|