diff options
| author | Benjamin Peterson <benjamin@python.org> | 2010-10-17 20:54:53 +0000 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2010-10-17 20:54:53 +0000 |
| commit | 8f67d0893f7170986b0ad370844318544270cbcc (patch) | |
| tree | 4aec6cf093d4d042d18d1fadc3ce52765d32bd8d /Include/weakrefobject.h | |
| parent | 6fb457526cef485d64f4f6744d81cae8c02032b3 (diff) | |
| download | cpython-git-8f67d0893f7170986b0ad370844318544270cbcc.tar.gz | |
make hashes always the size of pointers; introduce Py_hash_t #9778
Diffstat (limited to 'Include/weakrefobject.h')
| -rw-r--r-- | Include/weakrefobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/weakrefobject.h b/Include/weakrefobject.h index f15c9d9c12..b201d0814c 100644 --- a/Include/weakrefobject.h +++ b/Include/weakrefobject.h @@ -27,7 +27,7 @@ struct _PyWeakReference { /* A cache for wr_object's hash code. As usual for hashes, this is -1 * if the hash code isn't known yet. */ - long hash; + Py_hash_t hash; /* If wr_object is weakly referenced, wr_object has a doubly-linked NULL- * terminated list of weak references to it. These are the list pointers. |
