mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
This commit is contained in:
parent
4be47c0f76
commit
dbd9ba6a6c
53 changed files with 295 additions and 303 deletions
|
|
@ -107,7 +107,7 @@ gl_varray(self, args)
|
|||
PyObject *v, *w=NULL;
|
||||
int i, n, width;
|
||||
double vec[3];
|
||||
PyObject * (*getitem) Py_FPROTO((PyObject *, int));
|
||||
PyObject * (*getitem)(PyObject *, int);
|
||||
|
||||
if (!PyArg_GetObject(args, 1, 0, &v))
|
||||
return NULL;
|
||||
|
|
@ -208,7 +208,7 @@ gen_nvarray(args, inorm)
|
|||
PyObject *v, *w, *wnorm, *wvec;
|
||||
int i, n;
|
||||
float norm[3], vec[3];
|
||||
PyObject * (*getitem) Py_FPROTO((PyObject *, int));
|
||||
PyObject * (*getitem)(PyObject *, int);
|
||||
|
||||
if (!PyArg_GetObject(args, 1, 0, &v))
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue