Differences From Artifact [a224fd5a05]:
- File src/OFValue.m — part of check-in [cbc09c6e26] at 2020-09-27 00:57:30 on branch trunk — Work around bugs in Apple GCC 4.2.1 (user: js, size: 6464) [annotate] [blame] [check-ins using] [more...]
To Artifact [c1cd16a470]:
- File
src/OFValue.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: 6469) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
204 205 206 207 208 209 210 | free(value); free(otherValue); } return ret; } | | | 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 | free(value); free(otherValue); } return ret; } - (unsigned long)hash { size_t size = of_sizeof_type_encoding(self.objCType); unsigned char *value; uint32_t hash; if ((value = malloc(size)) == NULL) @throw [OFOutOfMemoryException |
︙ | ︙ |