diff options
| author | Christian Tismer <tismer@stackless.com> | 2021-04-18 18:58:18 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2021-09-29 17:34:58 +0200 |
| commit | 7e5539dfa9f648580fe9bef60b193f368c4db3f0 (patch) | |
| tree | d40dfce6ec119663785fb7f3435cefc8228066f6 /sources/pyside6/doc/tutorials | |
| parent | 096cc9c3703f40f1f596cf79a680dabfaad232bd (diff) | |
Shiboken: simplify and refactor more after PyTypeObject change
After the move to general PyTypeObject usage, some refactoring
is possible:
In pysidesignal.cpp, the function `getTypeName` is refactored. The
name "type" should be used for PyTypeObject if possible.
In cppgenerator.cpp, a lot of reinterpret_cast calls can be avoided,
also the local variable `pyType` can be used conveniently in
function `writeConverterRegister`.
In basewrapper.cpp, the function `introduceWrapperType` is simplified,
and the part relevant for PyPy is clearly separated.
Task-number: PYSIDE-535
Change-Id: If0fffbad7ee04f92d25111a8620263c8973a7bf0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials')
0 files changed, 0 insertions, 0 deletions
