aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/generator/shiboken/shibokengenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/generator/shiboken/shibokengenerator.cpp')
-rw-r--r--sources/shiboken6/generator/shiboken/shibokengenerator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken6/generator/shiboken/shibokengenerator.cpp b/sources/shiboken6/generator/shiboken/shibokengenerator.cpp
index 75b3fe890..05a9e7571 100644
--- a/sources/shiboken6/generator/shiboken/shibokengenerator.cpp
+++ b/sources/shiboken6/generator/shiboken/shibokengenerator.cpp
@@ -1121,6 +1121,9 @@ ShibokenGenerator::CPythonCheckFunctionResult
if (type == pyStrT())
return {QLatin1String("Shiboken::String::check"), {}};
+ if (type == cPyArrayObjectT())
+ return {QLatin1String("PyArray_Check"), {}};
+
CPythonCheckFunctionResult result;
result.type = buildAbstractMetaTypeFromString(type);
if (!result.type.has_value() || result.type->typeEntry()->isCustom())