summaryrefslogtreecommitdiffstats
path: root/Include/intobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-04 18:48:25 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-04 18:48:25 (GMT)
commit43466ec7b07de6bcad016bec60839cd6079c5a9c (patch)
treeec3bf3e1dfbf9535fa56e153e200f6491f34a6b0 /Include/intobject.h
parentb241b67b8954b0679377af00d668e3dc92f4c858 (diff)
downloadcpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.zip
cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.gz
cpython-43466ec7b07de6bcad016bec60839cd6079c5a9c.tar.bz2
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 cd66f75..2d3e750 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));
/*