summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-03-20 21:27:24 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-03-20 21:27:24 (GMT)
commit0bbbfc4c0b0cf84a23d2644080d09fb8af5324d2 (patch)
treef298dd7e7f9cd0ebb5e98a5bd33cd1046bc1dba5 /Include
parentce55e21c70068315e128980848f86d1d471fc41c (diff)
downloadcpython-0bbbfc4c0b0cf84a23d2644080d09fb8af5324d2.zip
cpython-0bbbfc4c0b0cf84a23d2644080d09fb8af5324d2.tar.gz
cpython-0bbbfc4c0b0cf84a23d2644080d09fb8af5324d2.tar.bz2
Extend work on rev 52962 and 53829 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);