]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
DL_IMPORT macro was called in a funny way (and MW barfed on it)
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 23 Apr 1995 22:06:05 +0000 (22:06 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 23 Apr 1995 22:06:05 +0000 (22:06 +0000)
Include/object.h
Include/tupleobject.h

index d1e60be700a010657d3792b63cfc0a9b3e7e1bdf..e57cf5907536a8b5e7e28dda5acb9f5008708c31 100644 (file)
@@ -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)
 
index 992c77085ba5a2cea33b0e0b471cfcc6288df23f..23c58a586cb1337806eb594aa44b4ce7b27d43bf 100644 (file)
@@ -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)