Skip to content

Commit

Permalink
qt6: rebuild (block QHashSeed::toUnsignedLong function)
Browse files Browse the repository at this point in the history
  • Loading branch information
mappu committed Jan 11, 2025
1 parent f15c54b commit 408e6f5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions qt6/gen_qhashfunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ QHashSeed* QHashSeed_new2(size_t d) {
return new QHashSeed(static_cast<size_t>(d));
}

size_t QHashSeed_ToUnsignedLong(const QHashSeed* self) {
return self->operator unsigned long();
}

QHashSeed* QHashSeed_GlobalSeed() {
return new QHashSeed(QHashSeed::globalSeed());
}
Expand Down
4 changes: 0 additions & 4 deletions qt6/gen_qhashfunctions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion qt6/gen_qhashfunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 408e6f5

Please sign in to comment.