aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/generator/shiboken/cppgenerator.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-01-16 10:14:21 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-01-16 14:38:30 +0100
commitb4144265b820a852ae7670edbee529b7a42818b1 (patch)
tree96acb4c201084feb307bee2d6e1276510b5cf361 /sources/shiboken6/generator/shiboken/cppgenerator.cpp
parent31e7f5325ec852ddf46ecff978a3140406154274 (diff)
Shiboken.wrapInstance(): Return existing instance (preserve ids)
Before calling newObject(), check whether a wrapper already exists and return that. newObject() actually also has checks for this, but it then invalidates the existing wrapper. Task-number: PYSIDE-31 Change-Id: Ifb8c33ebb6b4e2e976c207dd324fb8df29f043b1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/generator/shiboken/cppgenerator.cpp')
0 files changed, 0 insertions, 0 deletions