aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-08-26 11:58:12 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-27 18:28:06 +0000
commit0925b079e9d9d9907805584cbca80f8f9305abd8 (patch)
treee57c80ed3fb2dccb0651fc1092be6ab5664427d3
parent9ce07a8637b3f69307444aba9420a29415e28c6c (diff)
Fix the signature mapping after enabling macOS primitive types
After the new primitive types appeased in macOS, there are many new missing signatures. Many missing array modifications could be solved im mapping.py . The rest is only possible with a heavy change to the QtGui and QtOpenGL XML files. It will be fixed in 6.2 when we have the possibility to unify types by an XML PI. Task-number: PYSIDE-1646 Change-Id: I6e4c1b4e2409f830523d308b2e6dfafa3870132b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 87e07fad6063736b46f19573e0af5f0fdf85cba9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/mapping.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/mapping.py b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/mapping.py
index 08f3daeeb..663d6f275 100644
--- a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/mapping.py
+++ b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/mapping.py
@@ -328,6 +328,13 @@ type_map.update({
"array unsigned char*" : bytes,
"array unsigned int*" : ArrayLikeVariable(int),
"array unsigned short*" : ArrayLikeVariable(int),
+ # PYSIDE-1646: New macOS primitive types
+ "array int8_t*" : ArrayLikeVariable(int),
+ "array uint8_t*" : ArrayLikeVariable(int),
+ "array int16_t*" : ArrayLikeVariable(int),
+ "array uint16_t*" : ArrayLikeVariable(int),
+ "array int32_t*" : ArrayLikeVariable(int),
+ "array uint32_t*" : ArrayLikeVariable(int),
})
type_map.update({