diff options
author | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-04 18:48:25 +0000 |
commit | 43466ec7b07de6bcad016bec60839cd6079c5a9c (patch) | |
tree | ec3bf3e1dfbf9535fa56e153e200f6491f34a6b0 /Include/funcobject.h | |
parent | Turtle graphics (diff) | |
download | cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.gz cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.bz2 cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.zip |
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/funcobject.h')
-rw-r--r-- | Include/funcobject.h | 10 |
1 files changed, 5 insertions, 5 deletions
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. */ |