aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/doc/scripts/patch_qhp.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-04-04 11:32:03 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-04-04 15:14:45 +0200
commit4065148deccb1ea4f3859290b2fd1dc091ab0529 (patch)
treef39e3cede0e5c1fac6f6f62867deb94d35bc5191 /sources/shiboken6/doc/scripts/patch_qhp.py
parent04544e58cdf32049579b8081cac44e8b3ad17171 (diff)
shiboken6: Extend the bool cast function
Introduce a struct for the bool cast function that has a bool indicating whether the function returns true (operator bool(), std::optional::has_value()), or false (QSharedPointer::isNull()). Extract a helper to write the actual expression, hereby fixing the hitherto hard-coded function name. Pick-to: 6.2 Task-number: PYSIDE-454 Change-Id: I57b428febc30a9db7d3638f1c555943d2894ef58 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/doc/scripts/patch_qhp.py')
0 files changed, 0 insertions, 0 deletions