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/funcobject.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Include/funcobject.h') diff --git a/Include/funcobject.h b/Include/funcobject.h index a8834a7e3f3..fba40a55e7c 100644 --- a/Include/funcobject.h +++ b/Include/funcobject.h @@ -50,11 +50,11 @@ extern DL_IMPORT(PyTypeObject) PyFunction_Type; #define PyFunction_Check(op) ((op)->ob_type == &PyFunction_Type) -extern PyObject *PyFunction_New Py_PROTO((PyObject *, PyObject *)); -extern PyObject *PyFunction_GetCode Py_PROTO((PyObject *)); -extern PyObject *PyFunction_GetGlobals Py_PROTO((PyObject *)); -extern PyObject *PyFunction_GetDefaults Py_PROTO((PyObject *)); -extern int PyFunction_SetDefaults Py_PROTO((PyObject *, PyObject *)); +extern DL_IMPORT(PyObject *) PyFunction_New Py_PROTO((PyObject *, PyObject *)); +extern DL_IMPORT(PyObject *) PyFunction_GetCode Py_PROTO((PyObject *)); +extern DL_IMPORT(PyObject *) PyFunction_GetGlobals Py_PROTO((PyObject *)); +extern DL_IMPORT(PyObject *) PyFunction_GetDefaults Py_PROTO((PyObject *)); +extern DL_IMPORT(int) PyFunction_SetDefaults Py_PROTO((PyObject *, PyObject *)); /* Macros for direct access to these values. Type checks are *not* done, so use with care. */ -- cgit v1.2.3-65-gdbad