Mercurial > cpython-lru_cache-weakref
diff Include/mappingobject.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 | 9afdbf944c2a |
| children | 65d2d8e67da3 |
line wrap: on
line diff
--- a/Include/mappingobject.h Mon Feb 27 10:15:36 1995 +0000 +++ b/Include/mappingobject.h Mon Feb 27 10:17:52 1995 +0000 @@ -31,7 +31,7 @@ /* Dictionary object type -- mapping from hashable object to object */ /* NB Should be moved back to dictobject.h */ -extern DL_IMPORT PyTypeObject PyDict_Type; +extern DL_IMPORT(PyTypeObject) PyDict_Type; #define PyDict_Check(op) ((op)->ob_type == &PyDict_Type)
