diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-23 08:52:13 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-23 08:52:13 (GMT) |
commit | 5dacbd4c42171e447e2f07144faf502774dc921a (patch) | |
tree | f344814d89eaee33a235711b760c1584ba4db6eb /Objects/accu.c | |
parent | ca79ccd9e69641330d4002acac1bfeeb2dccda32 (diff) | |
download | cpython-5dacbd4c42171e447e2f07144faf502774dc921a.zip cpython-5dacbd4c42171e447e2f07144faf502774dc921a.tar.gz cpython-5dacbd4c42171e447e2f07144faf502774dc921a.tar.bz2 |
Cleanup hashtable.h
Issue #26588:
* Pass the hash table rather than the key size to hash and compare functions
* _Py_HASHTABLE_READ_KEY() and _Py_HASHTABLE_ENTRY_READ_KEY() macros now expect
the hash table as the first parameter, rather than the key size
* tracemalloc_get_traces_fill(): use _Py_HASHTABLE_ENTRY_READ_DATA() rather
than pointer dereference
* Remove the _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro
* Move "PKEY" and "PDATA" macros inside hashtable.c
Diffstat (limited to 'Objects/accu.c')
0 files changed, 0 insertions, 0 deletions