aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-27 09:12:37 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-30 09:12:03 +0000
commit28aa3c4f6605a6331b12f47e03a9aba4aaefe201 (patch)
treeee3f4f087eabfcb1fa126d715671f794f9ae4123 /README.md
parent9451c55d8fdcbdf5324f59b88abae72e547a9349 (diff)
shiboken6: Clean up member variables of the generators
There used to be a lot hash/list member variables in the generators, some of them static. Refactor this to: - Use initializer lists. - Introduce static functions returning a const ref to const hashes and lists and put them closer to where they are needed. - Move m_tpfuncs to cppgenerator. - Introduce a special struct for protocol function entries for clarity. As a drive by. streamline and fix CppGenerator::writeTypeAsMappingDefinition(), CppGenerator::writeTypeAsNumberDefinition() to generate nullptr and reinterpret_cast and not populate hashes with empty strings. Change-Id: Id1d067dec7769568f56b77ccafca843e01f99b0b Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions