diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-24 22:34:34 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-24 22:34:34 +0100 |
commit | 5c8a8e430bb8a8a38d751b2141a8c710e7b7c38f (patch) | |
tree | 1f5f7cac3630c05432b94c83849e3f2bc81901bc /Modules/hashtable.h | |
parent | 36e1fd011e2561e3a1e60c5e2c10b1ff3fbf16aa (diff) | |
download | cpython-5c8a8e430bb8a8a38d751b2141a8c710e7b7c38f.tar.gz |
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 539e490c31..a9f9993bfd 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); |