aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-07 14:12:37 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-08 11:39:42 +0200
commit4761ea81d1789d153ae986be6f749853f5a68332 (patch)
tree91594cb22e0adcb3d6a62ce3dccb6ad3c2400c1e /build_scripts/utils.py
parent9498d127aaf1a7888e46763ed7b8e39ee76e76da (diff)
shiboken2: Rearrange values of enum TypeEntry::CodeGeneration
TypeEntry::CodeGeneration::GenerateCpp was unused. Consequently, the GenerateAll mask is not needed, either. Replace GenerateCpp and GenerateTargetLang by a generic GenerateCode value. Introduce a new GenerationDisabled value to be able to distinguish a generate='no' XML attribute from a plain rejection. Fix many invalid usages of bool generateCode() testing against the flag value. Use the enum instead of uint for the code generation field. Task-number: PYSIDE-1202 Change-Id: I0aec5bd1ebfb9a50b80d5a187372c4271490e1b3 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions