Differences From Artifact [73163cea94]:
- File src/OFObject.m — part of check-in [b4039f9a85] at 2020-09-29 21:36:00 on branch trunk — Merge support for tagged pointers (user: js, size: 31603) [annotate] [blame] [check-ins using] [more...]
To Artifact [c2480d6470]:
- File
src/OFObject.m
— part of check-in
[aeb403a1ed]
at
2020-10-10 14:27:37
on branch trunk
— OFObject: Change type of -[hash] to unsigned long
The internal hash is still 32 bit in most places, but this way, it is at
least not baked into the API and ABI and can be upgraded later, should
that ever be necessary. (user: js, size: 31608) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1021 1022 1023 1024 1025 1026 1027 | } - (bool)isEqual: (id)object { return (object == self); } | | | 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 | } - (bool)isEqual: (id)object { return (object == self); } - (unsigned long)hash { uintptr_t ptr = (uintptr_t)self; uint32_t hash; OF_HASH_INIT(hash); for (size_t i = 0; i < sizeof(ptr); i++) { |
︙ | ︙ |