diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-21 20:38:35 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-22 09:55:14 +0200 |
| commit | d50cf744b8de18d9b3756712cdd07f270512fa91 (patch) | |
| tree | 33a8b03b9417ec20d1a1e602bdb6f3cb548a2d42 /sources/pyside6/doc/tutorials/expenses/main.py | |
| parent | 01a8e9f30d4396378e97a31e4b6d2ee489cb0ac9 (diff) | |
shiboken6: Refactor PrimitiveTypeEntry::basicReferencedTypeEntry()
Change it to always return "this" or the referenced type and add
another getter referencesType() to check whether it actually
references another entry.
Also add another convenience function TypeEntry::asPrimitive().
This saves a lot of if's.
Also remove
ShibokenGenerator::pythonPrimitiveTypeName(PrimitiveTypeEntry *).
Task-number: PYSIDE-1660
Change-Id: I7b3c2f32e67d64176bf0b9f11a2c4dea2d6273ba
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/expenses/main.py')
0 files changed, 0 insertions, 0 deletions
