Use Py_ssize_t for counts and sizes.

Convert Py_ssize_t using PyInt_FromSsize_t
This commit is contained in:
Martin v. Löwis 2006-02-16 14:32:27 +00:00
parent ad0a4629be
commit eb079f1c25
10 changed files with 33 additions and 31 deletions

View file

@ -6541,7 +6541,7 @@ unicode_buffer_getsegcount(PyUnicodeObject *self,
return 1;
}
static int
static Py_ssize_t
unicode_buffer_getcharbuf(PyUnicodeObject *self,
Py_ssize_t index,
const void **ptr)