diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-27 22:09:25 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-28 14:59:40 +0200 |
| commit | f0ebbfa8b128be39fe618188cad3320987c89051 (patch) | |
| tree | c88d45ed7b94aa0e0ecad017f257a88df74f8238 /sources/pyside6/PySide6/support/generate_pyi.py | |
| parent | ecc588bfbc15c1c344093601374e16c4e64dc075 (diff) | |
shiboken6: Introduce a new normalization function for added functions
QMetaObject::normalizedSignature() was used for normalizing
added function signatures as well as matching modify-function
signatures. The function replaces const-ref by value which
is convenient for matching existing functions, but very problematic
for adding functions. It also does not work for added functions
with parameter names ("const QVariant &@name@" will be left unchanged).
Introduce a new function that only normalizes white space for
the add function cases.
[ChangeLog][shiboken] A new, simpler normalization function has
been introduced for signatures of added functions (which means
for example that const-ref is preserved).
Change-Id: I642aa484095523e3dabb263fadedb20e3c0d3f15
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/PySide6/support/generate_pyi.py')
0 files changed, 0 insertions, 0 deletions
