diff Include/sliceobject.h @ 9586:60fdb1db1175 legacy-trunk

Add DL_IMPORT(returntype) for all officially exported functions.
author Guido van Rossum <guido@python.org>
date Fri, 04 Dec 1998 18:48:25 +0000
parents fce4f87e5974
children 091ca6b9348f
line wrap: on
line diff
--- a/Include/sliceobject.h	Fri Dec 04 16:42:46 1998 +0000
+++ b/Include/sliceobject.h	Fri Dec 04 18:48:25 1998 +0000
@@ -28,9 +28,9 @@
 
 #define PySlice_Check(op) ((op)->ob_type == &PySlice_Type)
 
-PyObject *PySlice_New Py_PROTO((
+DL_IMPORT(PyObject *) PySlice_New Py_PROTO((
 	PyObject* start, PyObject* stop, PyObject* step));
-int PySlice_GetIndices Py_PROTO((
+DL_IMPORT(int) PySlice_GetIndices Py_PROTO((
 	PySliceObject *r, int length, int *start, int *stop, int *step));
 
 #ifdef __cplusplus