mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
fix c89 declaration order
This commit is contained in:
parent
041c38a790
commit
45c9dceb56
1 changed files with 2 additions and 1 deletions
|
|
@ -36,8 +36,9 @@ Py_ssize_t quick_int_allocs, quick_neg_int_allocs;
|
|||
static PyObject *
|
||||
get_small_int(sdigit ival)
|
||||
{
|
||||
PyObject *v;
|
||||
assert(-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS);
|
||||
PyObject *v = (PyObject *)&small_ints[ival + NSMALLNEGINTS];
|
||||
v = (PyObject *)&small_ints[ival + NSMALLNEGINTS];
|
||||
Py_INCREF(v);
|
||||
#ifdef COUNT_ALLOCS
|
||||
if (ival >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue