We don't actually hash objects: we put values in as if they were ptrs */
| 12 | |
| 13 | /* We don't actually hash objects: we put values in as if they were ptrs */ |
| 14 | static uintptr_t key(const ptrint_t *obj) |
| 15 | { |
| 16 | return ptr2int(obj); |
| 17 | } |
| 18 | |
| 19 | static size_t hash_uintptr(uintptr_t key) |
| 20 | { |