summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-03-20 21:45:04 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-03-20 21:45:04 (GMT)
commitf94e89c57801ffdc17c7246704c7e1c41bbc4791 (patch)
tree2efd9f3a72c85f9417cc6e511de6399fe231ad13 /Include
parent42f4cfa9b6612206258a0735f97c863cd14e2d03 (diff)
downloadcpython-f94e89c57801ffdc17c7246704c7e1c41bbc4791.zip
cpython-f94e89c57801ffdc17c7246704c7e1c41bbc4791.tar.gz
cpython-f94e89c57801ffdc17c7246704c7e1c41bbc4791.tar.bz2
Extend work on rev 52962 and 53830 eliminating redundant PyObject_Hash() calls and fixing set/dict interoperability.
Diffstat (limited to 'Include')
-rw-r--r--Include/setobject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/setobject.h b/Include/setobject.h
index a16c2f7..750a2a8 100644
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -82,7 +82,8 @@ PyAPI_FUNC(int) PySet_Clear(PyObject *set);
PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key);
PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
-PyAPI_FUNC(int) _PySet_Next(PyObject *set, Py_ssize_t *pos, PyObject **entry);
+PyAPI_FUNC(int) _PySet_Next(PyObject *set, Py_ssize_t *pos, PyObject **key);
+PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, long *hash);
PyAPI_FUNC(PyObject *) PySet_Pop(PyObject *set);
PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable);