summaryrefslogtreecommitdiffstats
path: root/Modules/cgensupport.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-07-09 03:09:57 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-07-09 03:09:57 (GMT)
commitdbd9ba6a6c19c3d06f5684b3384a934f740038db (patch)
tree3a2728dbc98c86a0af47d7692cb8bdd2ee41afca /Modules/cgensupport.h
parent4be47c0f76c349ee9c04b08ed122c8bd8190d2c5 (diff)
downloadcpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.zip
cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.gz
cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.bz2
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
Diffstat (limited to 'Modules/cgensupport.h')
-rw-r--r--Modules/cgensupport.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/Modules/cgensupport.h b/Modules/cgensupport.h
index e70720b..2277a47 100644
--- a/Modules/cgensupport.h
+++ b/Modules/cgensupport.h
@@ -38,34 +38,34 @@ typedef char *string;
#define getishortarraysize PyArg_GetShortArraySize
#define getistringarg PyArg_GetString
-extern int PyArg_GetObject Py_PROTO((PyObject *args, int nargs,
- int i, PyObject **p_a));
-extern int PyArg_GetLong Py_PROTO((PyObject *args, int nargs,
- int i, long *p_a));
-extern int PyArg_GetShort Py_PROTO((PyObject *args, int nargs,
- int i, short *p_a));
-extern int PyArg_GetFloat Py_PROTO((PyObject *args, int nargs,
- int i, float *p_a));
-extern int PyArg_GetString Py_PROTO((PyObject *args, int nargs,
- int i, string *p_a));
-extern int PyArg_GetChar Py_PROTO((PyObject *args, int nargs,
- int i, char *p_a));
-extern int PyArg_GetLongArray Py_PROTO((PyObject *args, int nargs,
- int i, int n, long *p_a));
-extern int PyArg_GetShortArray Py_PROTO((PyObject *args, int nargs,
- int i, int n, short *p_a));
-extern int PyArg_GetDoubleArray Py_PROTO((PyObject *args, int nargs,
- int i, int n, double *p_a));
-extern int PyArg_GetFloatArray Py_PROTO((PyObject *args, int nargs,
- int i, int n, float *p_a));
-extern int PyArg_GetLongArraySize Py_PROTO((PyObject *args, int nargs,
- int i, long *p_a));
-extern int PyArg_GetShortArraySize Py_PROTO((PyObject *args, int nargs,
- int i, short *p_a));
-extern int PyArg_GetDoubleArraySize Py_PROTO((PyObject *args, int nargs,
- int i, double *p_a));
-extern int PyArg_GetFloatArraySize Py_PROTO((PyObject *args, int nargs,
- int i, float *p_a));
+extern int PyArg_GetObject(PyObject *args, int nargs,
+ int i, PyObject **p_a);
+extern int PyArg_GetLong(PyObject *args, int nargs,
+ int i, long *p_a);
+extern int PyArg_GetShort(PyObject *args, int nargs,
+ int i, short *p_a);
+extern int PyArg_GetFloat(PyObject *args, int nargs,
+ int i, float *p_a);
+extern int PyArg_GetString(PyObject *args, int nargs,
+ int i, string *p_a);
+extern int PyArg_GetChar(PyObject *args, int nargs,
+ int i, char *p_a);
+extern int PyArg_GetLongArray(PyObject *args, int nargs,
+ int i, int n, long *p_a);
+extern int PyArg_GetShortArray(PyObject *args, int nargs,
+ int i, int n, short *p_a);
+extern int PyArg_GetDoubleArray(PyObject *args, int nargs,
+ int i, int n, double *p_a);
+extern int PyArg_GetFloatArray(PyObject *args, int nargs,
+ int i, int n, float *p_a);
+extern int PyArg_GetLongArraySize(PyObject *args, int nargs,
+ int i, long *p_a);
+extern int PyArg_GetShortArraySize(PyObject *args, int nargs,
+ int i, short *p_a);
+extern int PyArg_GetDoubleArraySize(PyObject *args, int nargs,
+ int i, double *p_a);
+extern int PyArg_GetFloatArraySize(PyObject *args, int nargs,
+ int i, float *p_a);
#ifdef __cplusplus
}