summaryrefslogtreecommitdiffstats
path: root/Modules/hashtable.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-03-24 21:34:34 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-03-24 21:34:34 (GMT)
commitd9a735234813fec6df7fe080f46e9cfd5a564c57 (patch)
tree57ed1a023b69e6698deb3f6392abaaa44f5a3fc6 /Modules/hashtable.c
parentdf48b97855b378a13d852656d358ca92ecbe4aa3 (diff)
downloadcpython-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.c')
-rw-r--r--Modules/hashtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/hashtable.c b/Modules/hashtable.c
index 221ed53..aaded46 100644
--- a/Modules/hashtable.c
+++ b/Modules/hashtable.c
@@ -326,7 +326,7 @@ _Py_hashtable_set(_Py_hashtable_t *ht, const void *key,
entry->key_hash = key_hash;
assert(data_size == ht->data_size);
- memcpy(_PY_HASHTABLE_ENTRY_DATA(entry), data, data_size);
+ memcpy(_Py_HASHTABLE_ENTRY_DATA(entry), data, data_size);
_Py_slist_prepend(&ht->buckets[index], (_Py_slist_item_t*)entry);
ht->entries++;
@@ -504,7 +504,7 @@ _Py_hashtable_copy(_Py_hashtable_t *src)
err = 1;
}
else {
- data = _PY_HASHTABLE_ENTRY_DATA(entry);
+ data = _Py_HASHTABLE_ENTRY_DATA(entry);
err = _Py_hashtable_set(dst, entry->key, data, src->data_size);
}
if (err) {