2024-08-25 04:08:24 +00:00
|
|
|
#include <QHashData>
|
2024-08-29 07:01:51 +00:00
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QHashData__Node
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QHashDummyValue>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "qhash.h"
|
|
|
|
#include "gen_qhash.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "_cgo_export.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
bool QHashData_WillGrow(QHashData* self) {
|
|
|
|
return self->willGrow();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QHashData_HasShrunk(QHashData* self) {
|
|
|
|
self->hasShrunk();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QHashData_Rehash(QHashData* self, int hint) {
|
|
|
|
self->rehash(static_cast<int>(hint));
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QHashData__Node* QHashData_FirstNode(QHashData* self) {
|
|
|
|
return self->firstNode();
|
|
|
|
}
|
|
|
|
|
|
|
|
QHashData__Node* QHashData_NextNode(QHashData__Node* node) {
|
|
|
|
return QHashData::nextNode(node);
|
|
|
|
}
|
|
|
|
|
|
|
|
QHashData__Node* QHashData_PreviousNode(QHashData__Node* node) {
|
|
|
|
return QHashData::previousNode(node);
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHashData_Delete(QHashData* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
|
|
|
QHashDummyValue* QHashDummyValue_new() {
|
|
|
|
return new QHashDummyValue();
|
|
|
|
}
|
|
|
|
|
|
|
|
QHashDummyValue* QHashDummyValue_new2(QHashDummyValue* param1) {
|
|
|
|
return new QHashDummyValue(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QHashDummyValue_Delete(QHashDummyValue* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QHashData__Node_Delete(QHashData__Node* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|