summaryrefslogtreecommitdiffstats
path: root/Modules/cstubs
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/cstubs')
-rw-r--r--Modules/cstubs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/cstubs b/Modules/cstubs
index 257f8c6..3ce58da 100644
--- a/Modules/cstubs
+++ b/Modules/cstubs
@@ -109,7 +109,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;
@@ -212,7 +212,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;