diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-15 17:04:28 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-15 20:26:10 +0200 |
| commit | d6ee76c90bbdda6a4ed236953610d6e3ebfe69e0 (patch) | |
| tree | b55567afec71190dd1faddc70373fc5f6ccdc2a4 /sources/pyside6/doc/tutorials/qmlintegration/qmlintegration.rst | |
| parent | 393543d02ac5b8908ff80f75e0460bbb4fb901aa (diff) | |
shiboken6: Simplify CppGenerator::getArgumentType()
The function took an argument position where a value of 0 means return
type. The return type code branch was not used; it is only ever
invoked for arguments.
Remove the return type code path and change the function to take the
argument index. Failing to build a meta type for an argument is a hard
failure; change the function to return the meta type and to throw on
failure.
Task-number: PYSIDE-1660
Change-Id: I0dd89ecde595c71b42df7464d03204bafe74d17c
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlintegration/qmlintegration.rst')
0 files changed, 0 insertions, 0 deletions
