From 43466ec7b07de6bcad016bec60839cd6079c5a9c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 4 Dec 1998 18:48:25 +0000 Subject: Add DL_IMPORT(returntype) for all officially exported functions. --- Include/intobject.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Include/intobject.h') diff --git a/Include/intobject.h b/Include/intobject.h index cd66f75325..2d3e750240 100644 --- a/Include/intobject.h +++ b/Include/intobject.h @@ -61,9 +61,9 @@ extern DL_IMPORT(PyTypeObject) PyInt_Type; #define PyInt_Check(op) ((op)->ob_type == &PyInt_Type) -extern PyObject *PyInt_FromLong Py_PROTO((long)); -extern long PyInt_AsLong Py_PROTO((PyObject *)); -extern long PyInt_GetMax Py_PROTO((void)); +extern DL_IMPORT(PyObject *) PyInt_FromLong Py_PROTO((long)); +extern DL_IMPORT(long) PyInt_AsLong Py_PROTO((PyObject *)); +extern DL_IMPORT(long) PyInt_GetMax Py_PROTO((void)); /* -- cgit v1.2.1