mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #28818: Simplify lookdict functions
This commit is contained in:
parent
d7d266c113
commit
ba6097734d
3 changed files with 97 additions and 125 deletions
|
@ -12,7 +12,7 @@ typedef struct {
|
|||
* -1 when no entry found, -3 when compare raises error.
|
||||
*/
|
||||
typedef Py_ssize_t (*dict_lookup_func)
|
||||
(PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject ***value_addr,
|
||||
(PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr,
|
||||
Py_ssize_t *hashpos);
|
||||
|
||||
#define DKIX_EMPTY (-1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue