]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
DL_IMPORT needs an argument.
authorSjoerd Mullender <sjoerd@acm.org>
Tue, 25 Apr 1995 11:53:24 +0000 (11:53 +0000)
committerSjoerd Mullender <sjoerd@acm.org>
Tue, 25 Apr 1995 11:53:24 +0000 (11:53 +0000)
Include/object.h
Include/tupleobject.h

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