miqt/qt6/gen_qhashfunctions.cpp

37 lines
628 B
C++
Raw Normal View History

2024-10-20 18:21:03 +13:00
#include <QHashSeed>
#include <qhashfunctions.h>
#include "gen_qhashfunctions.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#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
}
2025-02-01 13:45:16 +13:00
QHashSeed* QHashSeed_globalSeed() {
2024-10-20 18:21:03 +13:00
return new QHashSeed(QHashSeed::globalSeed());
}
2025-02-01 13:45:16 +13:00
void QHashSeed_setDeterministicGlobalSeed() {
2024-10-20 18:21:03 +13:00
QHashSeed::setDeterministicGlobalSeed();
}
2025-02-01 13:45:16 +13:00
void QHashSeed_resetRandomGlobalSeed() {
2024-10-20 18:21:03 +13:00
QHashSeed::resetRandomGlobalSeed();
}
2025-02-01 13:45:16 +13:00
void QHashSeed_delete(QHashSeed* self) {
delete self;
2024-10-20 18:21:03 +13:00
}