summaryrefslogtreecommitdiffstats
path: root/Include/setobject.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-04 18:41:19 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-04 18:41:19 (GMT)
commit8c49c82889d1af480fa159b56c0e70ef81cf6749 (patch)
treec061a11caf40a1cb30d39ca6cc4d47abcb8d6c52 /Include/setobject.h
parentb62c433d716c409d5a5ad0c34435bd969c6639af (diff)
downloadcpython-8c49c82889d1af480fa159b56c0e70ef81cf6749.zip
cpython-8c49c82889d1af480fa159b56c0e70ef81cf6749.tar.gz
cpython-8c49c82889d1af480fa159b56c0e70ef81cf6749.tar.bz2
Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions.
Diffstat (limited to 'Include/setobject.h')
-rw-r--r--Include/setobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/setobject.h b/Include/setobject.h
index 1b0e5b1..cea95cc 100644
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -76,7 +76,7 @@ PyAPI_DATA(PyTypeObject) PyFrozenSet_Type;
PyAPI_FUNC(PyObject *) PySet_New(PyObject *);
PyAPI_FUNC(PyObject *) PyFrozenSet_New(PyObject *);
-PyAPI_FUNC(int) PySet_Size(PyObject *anyset);
+PyAPI_FUNC(Py_ssize_t) PySet_Size(PyObject *anyset);
#define PySet_GET_SIZE(so) (((PySetObject *)(so))->used)
PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key);
PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);