diff Include/classobject.h @ 2436:fa98dda07877 legacy-trunk

make the type a parameter of the DL_IMPORT macro, for Borland C
author Guido van Rossum <guido@python.org>
date Mon, 27 Feb 1995 10:17:52 +0000
parents 91a43ea11ba3
children 10e007aef1cf
line wrap: on
line diff
--- a/Include/classobject.h	Mon Feb 27 10:15:36 1995 +0000
+++ b/Include/classobject.h	Mon Feb 27 10:17:52 1995 +0000
@@ -55,7 +55,7 @@
 	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)