aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-26 11:19:00 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-30 09:47:32 +0000
commitf9f044b6e26b255fe4e88f061b3106ec4f310fb4 (patch)
tree7b5a22d706fae1823fb87b77332365da2b4784f2 /build_scripts/utils.py
parentd55a0ffb6b7ed154f5971c71b29621b532a394f5 (diff)
shiboken6: Replace handler map in QtXmlToSphinx by an enumeration
Constructing the strings and populating a hash with function pointers for each invocation on a snippet is wasteful. Introduce an enum, populate a constant static hash with it and dispatch the call via switch. Change-Id: Ia8e0123fc31802c35b33308edb0fa9edc6add775 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions