summaryrefslogtreecommitdiffstats
path: root/Include/accessobject.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/accessobject.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/accessobject.h')
-rw-r--r--Include/accessobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/accessobject.h b/Include/accessobject.h
index 47f9895..0ea60fc 100644
--- a/Include/accessobject.h
+++ b/Include/accessobject.h
@@ -46,7 +46,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#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 @@ void PyAccess_SetOwner Py_PROTO((PyObject *, PyObject *));
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
}