diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-24 21:34:34 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-24 21:34:34 (GMT) |
commit | d9a735234813fec6df7fe080f46e9cfd5a564c57 (patch) | |
tree | 57ed1a023b69e6698deb3f6392abaaa44f5a3fc6 /Modules/hashtable.h | |
parent | df48b97855b378a13d852656d358ca92ecbe4aa3 (diff) | |
download | cpython-d9a735234813fec6df7fe080f46e9cfd5a564c57.zip cpython-d9a735234813fec6df7fe080f46e9cfd5a564c57.tar.gz cpython-d9a735234813fec6df7fe080f46e9cfd5a564c57.tar.bz2 |
Issue #21036: Fix typo in macro name
_PY_HASHTABLE_ENTRY_DATA => _Py_HASHTABLE_ENTRY_DATA
Diffstat (limited to 'Modules/hashtable.h')
-rw-r--r-- | Modules/hashtable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/hashtable.h b/Modules/hashtable.h index 539e490..a9f9993 100644 --- a/Modules/hashtable.h +++ b/Modules/hashtable.h @@ -26,16 +26,16 @@ typedef struct { /* data follows */ } _Py_hashtable_entry_t; -#define _PY_HASHTABLE_ENTRY_DATA(ENTRY) \ +#define _Py_HASHTABLE_ENTRY_DATA(ENTRY) \ ((char *)(ENTRY) + sizeof(_Py_hashtable_entry_t)) #define _Py_HASHTABLE_ENTRY_DATA_AS_VOID_P(ENTRY) \ - (*(void **)_PY_HASHTABLE_ENTRY_DATA(ENTRY)) + (*(void **)_Py_HASHTABLE_ENTRY_DATA(ENTRY)) #define _Py_HASHTABLE_ENTRY_READ_DATA(TABLE, DATA, DATA_SIZE, ENTRY) \ do { \ assert((DATA_SIZE) == (TABLE)->data_size); \ - memcpy(DATA, _PY_HASHTABLE_ENTRY_DATA(ENTRY), DATA_SIZE); \ + memcpy(DATA, _Py_HASHTABLE_ENTRY_DATA(ENTRY), DATA_SIZE); \ } while (0) typedef Py_uhash_t (*_Py_hashtable_hash_func) (const void *key); |