summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-04-23 22:06:05 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-04-23 22:06:05 (GMT)
commit5dbc7231a0cb14bc01e25fa93cf4f972744302f0 (patch)
treeddef007142bcdfbc83291606a499f0b30972a3d8 /Include
parentd39f5f64538edd6c690fe635926063fb7cac853b (diff)
downloadcpython-5dbc7231a0cb14bc01e25fa93cf4f972744302f0.zip
cpython-5dbc7231a0cb14bc01e25fa93cf4f972744302f0.tar.gz
cpython-5dbc7231a0cb14bc01e25fa93cf4f972744302f0.tar.bz2
DL_IMPORT macro was called in a funny way (and MW barfed on it)
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h4
-rw-r--r--Include/tupleobject.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Include/object.h b/Include/object.h
index d1e60be..e57cf59 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -237,7 +237,7 @@ typedef struct _typeobject {
#endif
} PyTypeObject;
-extern DL_IMPORT(PyTypeObject) PyType_Type; /* The type of type objects */
+extern DL_IMPORT PyTypeObject PyType_Type; /* The type of type objects */
#define PyType_Check(op) ((op)->ob_type == &PyType_Type)
@@ -354,7 +354,7 @@ where NULL (nil) is not suitable (since NULL often means 'error').
Don't forget to apply Py_INCREF() when returning this value!!!
*/
-extern DL_IMPORT(PyObject) _Py_NoneStruct; /* Don't use this directly */
+extern DL_IMPORT PyObject _Py_NoneStruct; /* Don't use this directly */
#define Py_None (&_Py_NoneStruct)
diff --git a/Include/tupleobject.h b/Include/tupleobject.h
index 992c770..23c58a5 100644
--- a/Include/tupleobject.h
+++ b/Include/tupleobject.h
@@ -49,7 +49,7 @@ typedef struct {
PyObject *ob_item[1];
} PyTupleObject;
-extern DL_IMPORT(PyTypeObject) PyTuple_Type;
+extern DL_IMPORT PyTypeObject PyTuple_Type;
#define PyTuple_Check(op) ((op)->ob_type == &PyTuple_Type)