Make PyGC_Collect() use Py_ssize_t.

This commit is contained in:
Neal Norwitz 2006-03-04 20:01:53 +00:00
parent 84632ee319
commit 7b216c52e4
2 changed files with 12 additions and 12 deletions

View file

@ -229,7 +229,7 @@ PyAPI_FUNC(PyVarObject *) _PyObject_NewVar(PyTypeObject *, Py_ssize_t);
*/
/* C equivalent of gc.collect(). */
PyAPI_FUNC(long) PyGC_Collect(void);
PyAPI_FUNC(Py_ssize_t) PyGC_Collect(void);
/* Test if a type has a GC head */
#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)