diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-03-17 11:15:14 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-03-19 10:11:18 +0100 |
| commit | 0d26b9393260e589290c41ff682715b652e8da48 (patch) | |
| tree | ef56c7d90c6f057d46f41a5b632cdeaf57dcf0b1 /sources/pyside6/libpysideqml/pysideqmlmetacallerror.cpp | |
| parent | 3abe7dcc3cacac4085e70df2a5140ab8fffc3d6e (diff) | |
libshiboken: Change wrapper map to be a multimap to allow for colocated objects
In the case of objects that have the same address in C++ (which
happens for example for the first field of a struct or unions),
entries in the wrapper map would overwrite each other, which requires
complicated handling in libshiboken and the generated code. Change the
wrapper map to be a multimap and add functions searching by type and
instance. This also makes addding support for C++ unions (like
QQuickItem::ItemChangeData) easier.
Task-number: PYSIDE-2854
Change-Id: If8fb5ee43d3285fd25e471ce8c9a3e6ae37ae311
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/libpysideqml/pysideqmlmetacallerror.cpp')
0 files changed, 0 insertions, 0 deletions
