summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/tools/qstring/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib/tools/qstring/data.h')
-rw-r--r--tests/benchmarks/corelib/tools/qstring/data.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/benchmarks/corelib/tools/qstring/data.h b/tests/benchmarks/corelib/tools/qstring/data.h
index 390d0d679a..bd4ff55bd1 100644
--- a/tests/benchmarks/corelib/tools/qstring/data.h
+++ b/tests/benchmarks/corelib/tools/qstring/data.h
@@ -55,4 +55,16 @@ extern const ushort stringCollectionData[];
extern const StringCollection stringCollection[];
extern const int stringCollectionCount;
+struct StringData
+{
+ const int *entries;
+ union {
+ const char *charData;
+ const ushort *ushortData;
+ };
+
+ int entryCount;
+ int maxLength;
+};
+
#endif // DATA_H