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/floatobject.h | |
parent | b241b67b8954b0679377af00d668e3dc92f4c858 (diff) | |
download | cpython-git-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.gz |
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/floatobject.h')
-rw-r--r-- | Include/floatobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/floatobject.h b/Include/floatobject.h index c4a356a7e7..4491f592a6 100644 --- a/Include/floatobject.h +++ b/Include/floatobject.h @@ -50,8 +50,8 @@ extern DL_IMPORT(PyTypeObject) PyFloat_Type; #define PyFloat_Check(op) ((op)->ob_type == &PyFloat_Type) -extern PyObject *PyFloat_FromDouble Py_PROTO((double)); -extern double PyFloat_AsDouble Py_PROTO((PyObject *)); +extern DL_IMPORT(PyObject *) PyFloat_FromDouble Py_PROTO((double)); +extern DL_IMPORT(double) PyFloat_AsDouble Py_PROTO((PyObject *)); /* Macro, trading safety for speed */ #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval) |