mirror of
https://github.com/python/cpython.git
synced 2025-10-13 18:33:34 +00:00
gh-111178: Fix function signatures in misc files (#131180)
This commit is contained in:
parent
e9d210bfc2
commit
9a63138e09
5 changed files with 19 additions and 13 deletions
|
@ -1146,8 +1146,9 @@ get_cached_m_dict(struct extensions_cache_value *value,
|
|||
}
|
||||
|
||||
static void
|
||||
del_extensions_cache_value(struct extensions_cache_value *value)
|
||||
del_extensions_cache_value(void *raw)
|
||||
{
|
||||
struct extensions_cache_value *value = raw;
|
||||
if (value != NULL) {
|
||||
del_cached_m_dict(value);
|
||||
del_cached_def(value);
|
||||
|
@ -1248,7 +1249,7 @@ _extensions_cache_init(void)
|
|||
hashtable_hash_str,
|
||||
hashtable_compare_str,
|
||||
hashtable_destroy_str, // key
|
||||
(_Py_hashtable_destroy_func)del_extensions_cache_value, // value
|
||||
del_extensions_cache_value, // value
|
||||
&alloc
|
||||
);
|
||||
if (EXTENSIONS.hashtable == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue