aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/glue/qtquick3d.cpp
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2024-11-06 11:10:03 +0100
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2024-11-08 14:24:28 +0100
commit65a9ae9a853fa68ff997edbe3d6fd4eed022f1a0 (patch)
tree735b82851430560a81ec28a848cdd09fdb2c36c0 /sources/pyside6/PySide6/glue/qtquick3d.cpp
parentc951f11196d0572b7250a74197937c02b74604dd (diff)
limited api: Remove PyTuple_GET_ITEM, PyTuple_SET_ITEM, and PyTuple_GET_SIZE macros
Removing old macros for compatibility with the limited api, and refactoring some of their usages Change-Id: I33954199d2ef9884c64b963863b97aed851c440f Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtquick3d.cpp')
-rw-r--r--sources/pyside6/PySide6/glue/qtquick3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/PySide6/glue/qtquick3d.cpp b/sources/pyside6/PySide6/glue/qtquick3d.cpp
index 0139913ad..eee286455 100644
--- a/sources/pyside6/PySide6/glue/qtquick3d.cpp
+++ b/sources/pyside6/PySide6/glue/qtquick3d.cpp
@@ -16,6 +16,6 @@ return resultPair.first;
int count{};
%RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(&count);
%PYARG_0 = PyTuple_New(2);
-PyTuple_SET_ITEM(%PYARG_0, 0, %CONVERTTOPYTHON[%RETURN_TYPE](retval_));
-PyTuple_SET_ITEM(%PYARG_0, 1, %CONVERTTOPYTHON[int](count));
+PyTuple_SetItem(%PYARG_0, 0, %CONVERTTOPYTHON[%RETURN_TYPE](retval_));
+PyTuple_SetItem(%PYARG_0, 1, %CONVERTTOPYTHON[int](count));
// @snippet qquick3dinstancing-getinstancebuffer-return