aboutsummaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/surface_numpy/main.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-05-04 16:03:17 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-05-04 22:14:19 +0200
commit466633b975bbce7a3756ef1b3b9330608eed7f62 (patch)
tree36073bb323c1b9acc60ac05d2d412a532f3671a9 /examples/datavisualization/surface_numpy/main.py
parent4c1223d71e1e9b0b98c3467640caf412ce9b9946 (diff)
shiboken6: Generate includes in deterministic order
The meta builder loops over all functions of a class and adds the includes required for the arguments to the extra includes of the class type entry. This apparently had a non-deterministic order. The extra includes are written by the header generator, but are not strictly required there. To fix this, add a separate list TypeEntry::argumentIncludes() for those argument includes which is written by the CppGenerator. Introduce a struct IncludeGroup for a list of includes with a title and stream operator writing them out in sorted order and pass this to CppGenerator::generateIncludes(). Move the C++ includes to the end. Remove some spaces. Pick-to: 6.3 Change-Id: Iea3fdbbc9ace9de7506a58c2f73e5446aa7d42d8 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/datavisualization/surface_numpy/main.py')
0 files changed, 0 insertions, 0 deletions