diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-08 13:22:24 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-09 20:06:16 +0200 |
| commit | aec162c77194898eb04fff83036e8157db3eb051 (patch) | |
| tree | fab69617646a652fc104a952b2c4c110d1e366a1 /examples/scriptableapplication/pythonutils.cpp | |
| parent | db615e81615ee993cac69a3477351427d798e31e (diff) | |
shiboken6: Refactor writeMinimalConstructorExpression()
Change ShibokenGenerator::minimalConstructorExpression()
to return a string and remove the defaultCtor
parameter, which is only relevant for the argument conversion
case where the argument has a default value.
Put the default value code into a separate helper
in CppGenerator and make it a bit smarter, trying
to avoid assignments for class types.
Task-number: PYSIDE-1605
Change-Id: I22594cedcf8710fc85ae255109ab4ead1effcfa1
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions
