diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-08-17 22:47:32 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-08-24 12:36:37 +0200 |
commit | d28522a1b0e2d1170751b2c559d13e6c96a2a54c (patch) | |
tree | 2899d781cb20b78a2201e42712736899f82b93da /tests/benchmarks/corelib/tools/qstring/data.h | |
parent | 8063e04f3bf6e46ec972b6cafea39454a47e16de (diff) | |
download | qt4-tools-d28522a1b0e2d1170751b2c559d13e6c96a2a54c.tar.gz |
Update the data generation script to use a non-including .cpp
This speeds up the writing of algorithms, so I don't have to recompile
megabytes of data dumps.
Diffstat (limited to 'tests/benchmarks/corelib/tools/qstring/data.h')
-rw-r--r-- | tests/benchmarks/corelib/tools/qstring/data.h | 12 |
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 new file mode 100644 index 0000000000..a23dae3fb8 --- /dev/null +++ b/tests/benchmarks/corelib/tools/qstring/data.h @@ -0,0 +1,12 @@ +#include <qglobal.h> + +struct StringCollection +{ + int len; + int offset1, offset2; + ushort align1, align2; +}; + +extern const ushort stringCollectionData[]; +extern StringCollection stringCollection[]; +extern const int stringCollectionCount; |