summaryrefslogtreecommitdiffstats
path: root/src/tools/rcc
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-02-05 22:38:56 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-16 01:56:43 +0100
commit10de7f77f4ff37899db57d08fbd2a2b0702d1ab0 (patch)
treea87d7d7891a2d5e9f4f9825fc7e9c183793a6351 /src/tools/rcc
parentacb9537551afa46330edfcc1bbad27c15099b902 (diff)
qmetaobjectbuilder: Add asserts to confirm validity
buildMetaObject() can operate in two "modes", based on whether a buffer to write the meta-object into is passed or not. Add asserts to make sure that the intermediate meta-data indexes are correct in both "modes", and that the final size in "write mode" matches the size that was computed in the preceding non-writing pass. The asserts make it easier to catch obvious problems when changing buildMetaObject() to generate a new meta-object revision. Change-Id: Ief7c74e6f6fca836587e831b06072d6aa98c7193 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed-by: João Abecasis <joao.abecasis@nokia.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/tools/rcc')
0 files changed, 0 insertions, 0 deletions