diff --git a/qt6/gen_qhashfunctions.cpp b/qt6/gen_qhashfunctions.cpp index 91144cc4..63d42f50 100644 --- a/qt6/gen_qhashfunctions.cpp +++ b/qt6/gen_qhashfunctions.cpp @@ -18,10 +18,6 @@ QHashSeed* QHashSeed_new2(size_t d) { return new QHashSeed(static_cast(d)); } -size_t QHashSeed_ToUnsignedLong(const QHashSeed* self) { - return self->operator unsigned long(); -} - QHashSeed* QHashSeed_GlobalSeed() { return new QHashSeed(QHashSeed::globalSeed()); } diff --git a/qt6/gen_qhashfunctions.go b/qt6/gen_qhashfunctions.go index 13842054..c3c0a93d 100644 --- a/qt6/gen_qhashfunctions.go +++ b/qt6/gen_qhashfunctions.go @@ -62,10 +62,6 @@ func NewQHashSeed2(d uint64) *QHashSeed { return ret } -func (this *QHashSeed) ToUnsignedLong() uint64 { - return (uint64)(C.QHashSeed_ToUnsignedLong(this.h)) -} - func QHashSeed_GlobalSeed() *QHashSeed { _goptr := newQHashSeed(C.QHashSeed_GlobalSeed()) _goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer diff --git a/qt6/gen_qhashfunctions.h b/qt6/gen_qhashfunctions.h index 71f494c1..9fa4f974 100644 --- a/qt6/gen_qhashfunctions.h +++ b/qt6/gen_qhashfunctions.h @@ -22,7 +22,6 @@ typedef struct QHashSeed QHashSeed; QHashSeed* QHashSeed_new(); QHashSeed* QHashSeed_new2(size_t d); -size_t QHashSeed_ToUnsignedLong(const QHashSeed* self); QHashSeed* QHashSeed_GlobalSeed(); void QHashSeed_SetDeterministicGlobalSeed(); void QHashSeed_ResetRandomGlobalSeed();