mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
Use Py_ssize_t for counts and sizes.
Convert Py_ssize_t using PyInt_FromSsize_t
This commit is contained in:
parent
ad0a4629be
commit
eb079f1c25
10 changed files with 33 additions and 31 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue