diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-11 13:59:59 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-13 10:50:29 +0000 |
commit | 8fdfea5a6a2ba5f9fc9e98cf405ce840f15d8990 (patch) | |
tree | ad34a8cecea77cd7e172ebdd2a6d86b1225b47b4 /examples/script | |
parent | 8b6fbbac601b78f0c0413218ec5d48c60bc014ed (diff) |
shiboken: Refactor formatting of the PyType_Slot array in writeClassDefinition()
Change the tp_func handling such that "" means nullptr and introduce a
formatter class for the entries to use nullptr and change the C-style
casts to reinterpret_cast.
Change-Id: I36a1a218d003035f23ab9f8d31c7a993379e23c2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/script')
0 files changed, 0 insertions, 0 deletions