@@ -62,7 +62,7 @@ extern "C" PyObject* PyObject_Type(PyObject* o) noexcept {
62
62
63
63
extern " C" Py_ssize_t _PyObject_LengthHint (PyObject* o, Py_ssize_t defaultvalue) noexcept {
64
64
static PyObject* hintstrobj = NULL ;
65
- PyObject* ro, *hintmeth;
65
+ PyObject * ro, *hintmeth;
66
66
Py_ssize_t rv;
67
67
68
68
/* try o.__len__() */
@@ -164,8 +164,8 @@ extern "C" int PyBuffer_IsContiguous(Py_buffer* view, char fort) noexcept {
164
164
extern " C" int PyBuffer_ToContiguous (void * buf, Py_buffer* view, Py_ssize_t len, char fort) noexcept {
165
165
int k;
166
166
void (*addone)(int , Py_ssize_t*, const Py_ssize_t*);
167
- Py_ssize_t* indices, elements;
168
- char * dest, *ptr;
167
+ Py_ssize_t * indices, elements;
168
+ char * dest, *ptr;
169
169
170
170
if (len > view->len ) {
171
171
len = view->len ;
@@ -263,7 +263,7 @@ extern "C" void PyBuffer_Release(Py_buffer* view) noexcept {
263
263
static PyObject* objargs_mktuple (va_list va) noexcept {
264
264
int i, n = 0 ;
265
265
va_list countva;
266
- PyObject* result, *tmp;
266
+ PyObject * result, *tmp;
267
267
268
268
#ifdef VA_LIST_IS_ARRAY
269
269
memcpy (countva, va, sizeof (va_list));
@@ -508,7 +508,7 @@ extern "C" int PyObject_IsInstance(PyObject* inst, PyObject* cls) noexcept {
508
508
}
509
509
510
510
extern " C" PyObject* PyObject_CallFunctionObjArgs (PyObject* callable, ...) noexcept {
511
- PyObject* args, *tmp;
511
+ PyObject * args, *tmp;
512
512
va_list vargs;
513
513
514
514
if (callable == NULL )
@@ -666,7 +666,7 @@ extern "C" PyObject* PyObject_CallMethod(PyObject* o, const char* name, const ch
666
666
}
667
667
668
668
extern " C" PyObject* PyObject_CallMethodObjArgs (PyObject* callable, PyObject* name, ...) noexcept {
669
- PyObject* args, *tmp;
669
+ PyObject * args, *tmp;
670
670
va_list vargs;
671
671
672
672
if (callable == NULL || name == NULL )
@@ -943,8 +943,8 @@ extern "C" void _Py_add_one_to_index_C(int nd, Py_ssize_t* index, const Py_ssize
943
943
extern " C" int PyObject_CopyData (PyObject* dest, PyObject* src) noexcept {
944
944
Py_buffer view_dest, view_src;
945
945
int k;
946
- Py_ssize_t* indices, elements;
947
- char * dptr, *sptr;
946
+ Py_ssize_t * indices, elements;
947
+ char * dptr, *sptr;
948
948
949
949
if (!PyObject_CheckBuffer (dest) || !PyObject_CheckBuffer (src)) {
950
950
PyErr_SetString (PyExc_TypeError, " both destination and source must have the "
@@ -1131,7 +1131,7 @@ static PyObject* binary_iop(PyObject* v, PyObject* w, const int iop_slot, const
1131
1131
*/
1132
1132
1133
1133
static PyObject* ternary_op (PyObject* v, PyObject* w, PyObject* z, const int op_slot, const char * op_name) noexcept {
1134
- PyNumberMethods* mv, *mw, *mz;
1134
+ PyNumberMethods * mv, *mw, *mz;
1135
1135
PyObject* x = NULL ;
1136
1136
ternaryfunc slotv = NULL ;
1137
1137
ternaryfunc slotw = NULL ;
@@ -1180,7 +1180,7 @@ static PyObject* ternary_op(PyObject* v, PyObject* w, PyObject* z, const int op_
1180
1180
1181
1181
if (!NEW_STYLE_NUMBER (v) || !NEW_STYLE_NUMBER (w) || (z != Py_None && !NEW_STYLE_NUMBER (z))) {
1182
1182
/* we have an old style operand, coerce */
1183
- PyObject* v1, *z1, *w2, *z2;
1183
+ PyObject * v1, *z1, *w2, *z2;
1184
1184
int c;
1185
1185
1186
1186
c = PyNumber_Coerce (&v, &w);
@@ -1473,7 +1473,7 @@ extern "C" PyObject* PySequence_Repeat(PyObject* o, Py_ssize_t count) noexcept {
1473
1473
have an nb_multiply slot, not an sq_repeat slot. so we fall back
1474
1474
to nb_multiply if o appears to be a sequence. */
1475
1475
if (PySequence_Check (o)) {
1476
- PyObject* n, *result;
1476
+ PyObject * n, *result;
1477
1477
n = PyInt_FromSsize_t (count);
1478
1478
if (n == NULL )
1479
1479
return NULL ;
@@ -1520,7 +1520,7 @@ extern "C" PyObject* PySequence_InPlaceRepeat(PyObject* o, Py_ssize_t count) noe
1520
1520
return m->sq_repeat (o, count);
1521
1521
1522
1522
if (PySequence_Check (o)) {
1523
- PyObject* n, *result;
1523
+ PyObject * n, *result;
1524
1524
n = PyInt_FromSsize_t (count);
1525
1525
if (n == NULL )
1526
1526
return NULL ;
@@ -1556,7 +1556,7 @@ extern "C" PyObject* PySequence_GetItem(PyObject* s, Py_ssize_t i) noexcept {
1556
1556
}
1557
1557
1558
1558
PyObject* _PySlice_FromIndices (Py_ssize_t istart, Py_ssize_t istop) {
1559
- PyObject* start, *end, *slice;
1559
+ PyObject * start, *end, *slice;
1560
1560
start = PyInt_FromSsize_t (istart);
1561
1561
if (!start)
1562
1562
return NULL ;
@@ -1794,7 +1794,7 @@ extern "C" int PyMapping_HasKey(PyObject* o, PyObject* key) noexcept {
1794
1794
}
1795
1795
1796
1796
extern " C" PyObject* PyMapping_GetItemString (PyObject* o, char * key) noexcept {
1797
- PyObject* okey, *r;
1797
+ PyObject * okey, *r;
1798
1798
1799
1799
if (key == NULL )
1800
1800
return null_error ();
0 commit comments