miqt/qt/gen_qhash.cpp

52 lines
1.1 KiB
C++
Raw Normal View History

#include <QHashData>
2024-08-29 07:01:51 +00:00
#define WORKAROUND_INNER_CLASS_DEFINITION_QHashData__Node
#include <QHashDummyValue>
2024-08-29 07:01:51 +00:00
#include "qhash.h"
#include "gen_qhash.h"
#include "_cgo_export.h"
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);
}
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;
}