mirror of
https://github.com/mappu/miqt.git
synced 2025-01-20 21:50:38 +00:00
qt6: rebuild (block QHashSeed::toUnsignedLong function)
This commit is contained in:
parent
f15c54b153
commit
408e6f55d3
@ -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());
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user