2024-10-20 05:21:03 +00:00
|
|
|
#include <QHashSeed>
|
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__QHashCombine
|
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__QHashCombineCommutative
|
|
|
|
#include <qhashfunctions.h>
|
|
|
|
#include "gen_qhashfunctions.h"
|
|
|
|
#include "_cgo_export.h"
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QHashSeed_new(QHashSeed** outptr_QHashSeed) {
|
|
|
|
QHashSeed* ret = new QHashSeed();
|
|
|
|
*outptr_QHashSeed = ret;
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QHashSeed_new2(size_t d, QHashSeed** outptr_QHashSeed) {
|
|
|
|
QHashSeed* ret = new QHashSeed(static_cast<size_t>(d));
|
|
|
|
*outptr_QHashSeed = ret;
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QHashSeed* QHashSeed_GlobalSeed() {
|
|
|
|
return new QHashSeed(QHashSeed::globalSeed());
|
|
|
|
}
|
|
|
|
|
|
|
|
void QHashSeed_SetDeterministicGlobalSeed() {
|
|
|
|
QHashSeed::setDeterministicGlobalSeed();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QHashSeed_ResetRandomGlobalSeed() {
|
|
|
|
QHashSeed::resetRandomGlobalSeed();
|
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QHashSeed_Delete(QHashSeed* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QHashSeed*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QtPrivate__QHashCombine_new(QtPrivate__QHashCombine** outptr_QtPrivate__QHashCombine) {
|
|
|
|
QtPrivate::QHashCombine* ret = new QtPrivate::QHashCombine();
|
|
|
|
*outptr_QtPrivate__QHashCombine = ret;
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QtPrivate__QHashCombine_Delete(QtPrivate__QHashCombine* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QtPrivate::QHashCombine*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QtPrivate__QHashCombineCommutative_new(QtPrivate__QHashCombineCommutative** outptr_QtPrivate__QHashCombineCommutative) {
|
|
|
|
QtPrivate::QHashCombineCommutative* ret = new QtPrivate::QHashCombineCommutative();
|
|
|
|
*outptr_QtPrivate__QHashCombineCommutative = ret;
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QtPrivate__QHashCombineCommutative_Delete(QtPrivate__QHashCombineCommutative* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QtPrivate::QHashCombineCommutative*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|