summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qhashfunctions.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-05-24 05:44:45 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2016-05-24 05:44:45 +0000
commit4e41babd0337473a1078d3a5f3367cc1fc5f2935 (patch)
treefc7a7ceecd529310fcd6a6a869034a8ea75388e1 /src/corelib/tools/qhashfunctions.h
parentaa2a3102676a5608d7ad22b868895ec93681a5d9 (diff)
parent56d6e000f7487c59172330ebd23a718268c508f1 (diff)
Merge "Merge remote-tracking branch 'origin/5.7' into dev" into refs/staging/dev
Diffstat (limited to 'src/corelib/tools/qhashfunctions.h')
-rw-r--r--src/corelib/tools/qhashfunctions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/tools/qhashfunctions.h b/src/corelib/tools/qhashfunctions.h
index b6cb84ee15..0eb6c1b5ce 100644
--- a/src/corelib/tools/qhashfunctions.h
+++ b/src/corelib/tools/qhashfunctions.h
@@ -64,6 +64,9 @@ class QString;
class QStringRef;
class QLatin1String;
+Q_CORE_EXPORT int qGlobalQHashSeed();
+Q_CORE_EXPORT void qSetGlobalQHashSeed(int newSeed);
+
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHashBits(const void *p, size_t size, uint seed = 0) Q_DECL_NOTHROW;
Q_DECL_CONST_FUNCTION Q_DECL_CONSTEXPR inline uint qHash(char key, uint seed = 0) Q_DECL_NOTHROW { return uint(key) ^ seed; }