pub fn getHashPtrAddrFn(comptime K: type, comptime Context: type) (fn (Context, K) u32) K: typeContext: type2198
2199
2200
2201
2202
2203
2204
2205pub fn getHashPtrAddrFn(comptime K: type, comptime Context: type) (fn (Context, K) u32) {
return struct {
fn hash(ctx: Context, key: K) u32 {
_ = ctx;
return getAutoHashFn(usize, void)({}, @intFromPtr(key));
}
}.hash;
}