Mercurial > cpython-lru_cache-weakref
diff Include/intobject.h @ 2436:fa98dda07877 legacy-trunk
make the type a parameter of the DL_IMPORT macro, for Borland C
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 27 Feb 1995 10:17:52 +0000 |
| parents | 05360cd616ae |
| children | 65d2d8e67da3 |
line wrap: on
line diff
--- a/Include/intobject.h Mon Feb 27 10:15:36 1995 +0000 +++ b/Include/intobject.h Mon Feb 27 10:17:52 1995 +0000 @@ -50,7 +50,7 @@ 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 @@ 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)
