diff --git a/src/Generator/Types/Types.cs b/src/Generator/Types/Types.cs index f2632c9e..73c534ff 100644 --- a/src/Generator/Types/Types.cs +++ b/src/Generator/Types/Types.cs @@ -132,6 +132,9 @@ namespace CppSharp return false; } + if (!array.QualifiedType.Visit(this)) + return false; + if (array.SizeType != ArrayType.ArraySize.Constant) return true; @@ -149,6 +152,12 @@ namespace CppSharp Ignore(); return false; } + + public override bool VisitUnsupportedType(UnsupportedType type, TypeQualifiers quals) + { + Ignore(); + return false; + } } }