2024-10-20 18:21:03 +13:00
|
|
|
#include <QHashSeed>
|
|
|
|
#include <qhashfunctions.h>
|
|
|
|
#include "gen_qhashfunctions.h"
|
2024-12-11 19:55:47 +13:00
|
|
|
|
2025-01-07 11:30:33 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2024-12-11 19:55:47 +13:00
|
|
|
#endif
|
2024-10-20 18:21:03 +13:00
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QHashSeed* QHashSeed_new() {
|
|
|
|
return new QHashSeed();
|
2024-10-20 18:21:03 +13:00
|
|
|
}
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QHashSeed* QHashSeed_new2(size_t d) {
|
|
|
|
return new QHashSeed(static_cast<size_t>(d));
|
2024-10-20 18:21:03 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
QHashSeed* QHashSeed_GlobalSeed() {
|
|
|
|
return new QHashSeed(QHashSeed::globalSeed());
|
|
|
|
}
|
|
|
|
|
|
|
|
void QHashSeed_SetDeterministicGlobalSeed() {
|
|
|
|
QHashSeed::setDeterministicGlobalSeed();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QHashSeed_ResetRandomGlobalSeed() {
|
|
|
|
QHashSeed::resetRandomGlobalSeed();
|
|
|
|
}
|
|
|
|
|
2025-01-18 17:42:41 +13:00
|
|
|
void QHashSeed_Delete(QHashSeed* self) {
|
|
|
|
delete self;
|
2024-10-20 18:21:03 +13:00
|
|
|
}
|
|
|
|
|