chiark / gitweb /
Further fixing to use `Py_ssize_t' in place of int.
[catacomb-python] / catacomb-python.h
index b287450280a5318114e098e62708a5b49ae09b28..a379e1d4d02cb74214dd5a56e75ae2aa3d1f9ed8 100644 (file)
@@ -282,7 +282,7 @@ extern PyMethodDef *donemethods(void);
 GMAP_DOMETHODS(GMAP_METHDECL, GMAP_KWMETHDECL)
 #define GMAP_ROMETHODS GMAP_DOROMETHODS(GMAP_METH, GMAP_KWMETH)
 #define GMAP_METHODS GMAP_DOMETHODS(GMAP_METH, GMAP_KWMETH)
-extern int gmap_pysize(PyObject *);
+extern Py_ssize_t gmap_pysize(PyObject *);
 extern PySequenceMethods gmap_pysequence;
 extern PyMethodDef gmap_pymethods[];