summaryrefslogtreecommitdiffstats
path: root/Include/intobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-27 10:17:52 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-27 10:17:52 (GMT)
commit051ab123b465685e714668099c0a6dd86de5673b (patch)
tree16ee109ab64b01f19e289a3c284c7ce9b70618fa /Include/intobject.h
parent0fbec64c56e5f2644b4e23a458a42ca273fd4888 (diff)
downloadcpython-051ab123b465685e714668099c0a6dd86de5673b.zip
cpython-051ab123b465685e714668099c0a6dd86de5673b.tar.gz
cpython-051ab123b465685e714668099c0a6dd86de5673b.tar.bz2
make the type a parameter of the DL_IMPORT macro, for Borland C
Diffstat (limited to 'Include/intobject.h')
-rw-r--r--Include/intobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/intobject.h b/Include/intobject.h
index 6e2344a..24bcbf0 100644
--- a/Include/intobject.h
+++ b/Include/intobject.h
@@ -50,7 +50,7 @@ typedef struct {
long ob_ival;
} PyIntObject;
-extern DL_IMPORT PyTypeObject PyInt_Type;
+extern DL_IMPORT(PyTypeObject) PyInt_Type;
#define PyInt_Check(op) ((op)->ob_type == &PyInt_Type)
@@ -69,7 +69,7 @@ Hope these macros don't conflict with other people's.
Don't forget to apply Py_INCREF() when returning True or False!!!
*/
-extern DL_IMPORT PyIntObject _Py_ZeroStruct, _Py_TrueStruct; /* Don't use these directly */
+extern DL_IMPORT(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct; /* Don't use these directly */
#define Py_False ((PyObject *) &_Py_ZeroStruct)
#define Py_True ((PyObject *) &_Py_TrueStruct)