mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Removed references to Py_FPROTO.
This commit is contained in:
parent
2dd4abf277
commit
f28b898f13
1 changed files with 2 additions and 2 deletions
|
|
@ -109,7 +109,7 @@ gl_varray(self, args)
|
||||||
PyObject *v, *w=NULL;
|
PyObject *v, *w=NULL;
|
||||||
int i, n, width;
|
int i, n, width;
|
||||||
double vec[3];
|
double vec[3];
|
||||||
PyObject * (*getitem) Py_FPROTO((PyObject *, int));
|
PyObject * (*getitem)(PyObject *, int);
|
||||||
|
|
||||||
if (!PyArg_GetObject(args, 1, 0, &v))
|
if (!PyArg_GetObject(args, 1, 0, &v))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
@ -212,7 +212,7 @@ gen_nvarray(args, inorm)
|
||||||
PyObject *v, *w, *wnorm, *wvec;
|
PyObject *v, *w, *wnorm, *wvec;
|
||||||
int i, n;
|
int i, n;
|
||||||
float norm[3], vec[3];
|
float norm[3], vec[3];
|
||||||
PyObject * (*getitem) Py_FPROTO((PyObject *, int));
|
PyObject * (*getitem)(PyObject *, int);
|
||||||
|
|
||||||
if (!PyArg_GetObject(args, 1, 0, &v))
|
if (!PyArg_GetObject(args, 1, 0, &v))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue