diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-04-24 09:35:21 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-04-25 11:02:09 +0000 |
commit | b5cbb40f4593e8576deb4632c70399cf30b9bc35 (patch) | |
tree | 5619127777f143e9813f8cb7db23961f33ff57f6 /examples/widgets/mainwindows/application/application.py | |
parent | dcb3aa5dedc63332864eeb49d5ba3bb1c28bb26b (diff) |
shiboken6: Lazy-initialize the dependency graph
Change the dependency graph in the BindingManager from
PyTypeObject *-based nodes to nodes which are wrapping the
TypeInitStruct * and hashing on the type name. This allows for
creating the types on demand when walking along the edges and calling
the type discovery functions.
This only creates the required types instead of the entire
lazy group of polymorphic classes.
The graph is now populated by from the generated code using a
function named initInheritance() instead of dynamically
from introduceWrapperType.
Task-number: PYSIDE-2404
Task-number: PYSIDE-2675
Pick-to: 6.7
Change-Id: I030d4957c221f4defbb7cc52a6927287b70d9864
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/widgets/mainwindows/application/application.py')
0 files changed, 0 insertions, 0 deletions