summaryrefslogtreecommitdiff
path: root/Include/intobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-04 18:48:25 +0000
committerGuido van Rossum <guido@python.org>1998-12-04 18:48:25 +0000
commit6b5ad775859d0c41a25f0290f37954dcd2ccc484 (patch)
tree2dc4d5feb910b8303a091e3929fd8b72e29bd132 /Include/intobject.h
parent27913d4a7d3d5001643ba80ba86b432781669717 (diff)
downloadcpython-6b5ad775859d0c41a25f0290f37954dcd2ccc484.tar.gz
Add DL_IMPORT(returntype) for all officially exported functions.
Diffstat (limited to 'Include/intobject.h')
-rw-r--r--Include/intobject.h6
1 files changed, 3 insertions, 3 deletions
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));
/*