diff options
author | Friedemann Kleint <[email protected]> | 2021-09-10 14:58:54 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2021-09-11 07:57:17 +0200 |
commit | acaa0e5ce430d87eea1d76620e3b9e3584a55f86 (patch) | |
tree | cce83caa766e7d69de3be3bee5990b2b3e79baea /examples/scriptableapplication/pythonutils.cpp | |
parent | a4a23da2df6af79f03f0d10bd10a18b3cb437396 (diff) |
shiboken6: Refactor handling of values with copy constructor only
ShibokenGenerato::valueTypeWithCopyConstructorOnly() is frequently
called when writing argument conversions.
Instead of repeatedly searching for classes and looping its functions,
determine the value once in AbstractMetaBuilder and set it as a
boolean flag on class and type entry.
Move the functions from ShibokenGenerator to AbstractMetaType.
Task-number: PYSIDE-1605
Change-Id: If6701ff87b8dd23039f1d35daa6c9291acd0aa87
Reviewed-by: Christian Tismer <[email protected]>
Diffstat (limited to 'examples/scriptableapplication/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions