make the type a parameter of the DL_IMPORT macro, for Borland C

This commit is contained in:
Guido van Rossum 1995-02-27 10:17:52 +00:00
parent 0fbec64c56
commit 051ab123b4
22 changed files with 67 additions and 63 deletions

View file

@ -32,7 +32,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
typedef struct _longobject PyLongObject; /* Revealed in longintrepr.h */
extern DL_IMPORT PyTypeObject PyLong_Type;
extern DL_IMPORT(PyTypeObject) PyLong_Type;
#define PyLong_Check(op) ((op)->ob_type == &PyLong_Type)