summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1995-04-25 11:53:24 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1995-04-25 11:53:24 (GMT)
commit107c747009b3717840f4d5fae8f0d5987ae27f89 (patch)
treeba4c18a9bb40062fbe7c4c310d98171892f970e7 /Include/object.h
parent45ff77f43e8aef9486658f4dac7f5ea844fe03b8 (diff)
downloadcpython-107c747009b3717840f4d5fae8f0d5987ae27f89.zip
cpython-107c747009b3717840f4d5fae8f0d5987ae27f89.tar.gz
cpython-107c747009b3717840f4d5fae8f0d5987ae27f89.tar.bz2
DL_IMPORT needs an argument.
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index e57cf59..d1e60be 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)