Mercurial > cpython-lru_cache-weakref
diff Include/accessobject.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 | 138fa15a1032 |
line wrap: on
line diff
--- a/Include/accessobject.h Mon Feb 27 10:15:36 1995 +0000 +++ b/Include/accessobject.h Mon Feb 27 10:17:52 1995 +0000 @@ -46,7 +46,7 @@ #define AC_R_PUBLIC 0004 #define AC_W_PUBLIC 0002 -extern DL_IMPORT PyTypeObject PyAccess_Type; +extern DL_IMPORT(PyTypeObject) PyAccess_Type; #define PyAccess_Check(v) ((v)->ob_type == &PyAccess_Type) @@ -58,7 +58,7 @@ PyObject *PyAccess_Clone Py_PROTO((PyObject *)); int PyAccess_HasValue Py_PROTO((PyObject *)); -extern DL_IMPORT PyTypeObject PyAnyNumber_Type, PyAnySequence_Type, PyAnyMapping_Type; +extern DL_IMPORT(PyTypeObject) PyAnyNumber_Type, PyAnySequence_Type, PyAnyMapping_Type; #ifdef __cplusplus }
