miqt/qt6/gen_qhashfunctions.cpp

37 lines
628 B
C++

#include <QHashSeed>
#include <qhashfunctions.h>
#include "gen_qhashfunctions.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#endif
QHashSeed* QHashSeed_new() {
return new QHashSeed();
}
QHashSeed* QHashSeed_new2(size_t d) {
return new QHashSeed(static_cast<size_t>(d));
}
QHashSeed* QHashSeed_GlobalSeed() {
return new QHashSeed(QHashSeed::globalSeed());
}
void QHashSeed_SetDeterministicGlobalSeed() {
QHashSeed::setDeterministicGlobalSeed();
}
void QHashSeed_ResetRandomGlobalSeed() {
QHashSeed::resetRandomGlobalSeed();
}
void QHashSeed_Delete(QHashSeed* self) {
delete self;
}