summaryrefslogtreecommitdiffstats
path: root/Include/sliceobject.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-07-09 00:55:06 (GMT)
committerFred Drake <fdrake@acm.org>2000-07-09 00:55:06 (GMT)
commit3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec (patch)
treef4ad8a294b76cbf0f43823163a2eac21be7334c6 /Include/sliceobject.h
parentea9cb5aebf38741871ad4f28971dcd23ddd77ad2 (diff)
downloadcpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.zip
cpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.tar.gz
cpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.tar.bz2
ANSI-fication and Py_PROTO extermination.
Diffstat (limited to 'Include/sliceobject.h')
-rw-r--r--Include/sliceobject.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/sliceobject.h b/Include/sliceobject.h
index d38f7be..d9d6934 100644
--- a/Include/sliceobject.h
+++ b/Include/sliceobject.h
@@ -20,18 +20,18 @@ let these be any arbitrary python type.
*/
typedef struct {
- PyObject_HEAD
- PyObject *start, *stop, *step;
+ PyObject_HEAD
+ PyObject *start, *stop, *step;
} PySliceObject;
extern DL_IMPORT(PyTypeObject) PySlice_Type;
#define PySlice_Check(op) ((op)->ob_type == &PySlice_Type)
-DL_IMPORT(PyObject *) PySlice_New Py_PROTO((
- PyObject* start, PyObject* stop, PyObject* step));
-DL_IMPORT(int) PySlice_GetIndices Py_PROTO((
- PySliceObject *r, int length, int *start, int *stop, int *step));
+DL_IMPORT(PyObject *) PySlice_New(PyObject* start, PyObject* stop,
+ PyObject* step);
+DL_IMPORT(int) PySlice_GetIndices(PySliceObject *r, int length,
+ int *start, int *stop, int *step);
#ifdef __cplusplus
}