aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/minimalbinding/typesystem_minimal.xml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-21 16:01:59 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-07 13:10:10 +0100
commit504cf3341c0622c16d4283eef58aed9fe9c35036 (patch)
tree4b09fad4d74021319dab2adb71e11ab30996d9a8 /sources/shiboken6/tests/minimalbinding/typesystem_minimal.xml
parent21fbc5ec9a973a80199134db77708b7bc48a0707 (diff)
shiboken6: Add support for std::span
Convert std::span to a Python list. For the conversion from Python to C++, make it a view on a vector. A special type is introduced since a different implementation is needed for opaque containers. Task-number: PYSIDE-2174 Change-Id: I17a7385282a7d373dc73d5ac63a5d3363d61d130 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/shiboken6/tests/minimalbinding/typesystem_minimal.xml')
-rw-r--r--sources/shiboken6/tests/minimalbinding/typesystem_minimal.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/minimalbinding/typesystem_minimal.xml b/sources/shiboken6/tests/minimalbinding/typesystem_minimal.xml
index e73ddc228..ef317f415 100644
--- a/sources/shiboken6/tests/minimalbinding/typesystem_minimal.xml
+++ b/sources/shiboken6/tests/minimalbinding/typesystem_minimal.xml
@@ -38,6 +38,8 @@
</modify-argument>
</modify-function>
</value-type>
+ <value-type name="SpanUser"/>
+
<value-type name="MinBoolUser"/>
<value-type name="ContainerUser">