[Python-checkins] python/dist/src/Include setobject.h,2.10,2.11

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Tue Aug 16 12:44:25 CEST 2005


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10493/Include

Modified Files:
	setobject.h 
Log Message:
Numerous fix-ups to C API and docs.  Added tests for C API.

Index: setobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/setobject.h,v
retrieving revision 2.10
retrieving revision 2.11
diff -u -d -r2.10 -r2.11
--- setobject.h	16 Aug 2005 03:47:51 -0000	2.10
+++ setobject.h	16 Aug 2005 10:44:15 -0000	2.11
@@ -79,7 +79,7 @@
 PyAPI_FUNC(int) 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 *anyset, PyObject *key);
+PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
 PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
 PyAPI_FUNC(PyObject *) PySet_Pop(PyObject *set);
 



More information about the Python-checkins mailing list