From 408e6f55d31a4903038a4a2c852151ebe707d60a Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 11 Jan 2025 17:41:10 +1300 Subject: [PATCH] qt6: rebuild (block QHashSeed::toUnsignedLong function) --- qt6/gen_qhashfunctions.cpp | 4 ---- qt6/gen_qhashfunctions.go | 4 ---- qt6/gen_qhashfunctions.h | 1 - 3 files changed, 9 deletions(-) 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();