summaryrefslogtreecommitdiffstats
path: root/Include/classobject.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/classobject.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/classobject.h')
-rw-r--r--Include/classobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/classobject.h b/Include/classobject.h
index 9810009..f87d02e 100644
--- a/Include/classobject.h
+++ b/Include/classobject.h
@@ -55,7 +55,7 @@ typedef struct {
PyObject *in_dict; /* A dictionary */
} PyInstanceObject;
-extern DL_IMPORT PyTypeObject PyClass_Type, PyInstance_Type, PyMethod_Type;
+extern DL_IMPORT(PyTypeObject) PyClass_Type, PyInstance_Type, PyMethod_Type;
#define PyClass_Check(op) ((op)->ob_type == &PyClass_Type)
#define PyInstance_Check(op) ((op)->ob_type == &PyInstance_Type)