mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
make the type a parameter of the DL_IMPORT macro, for Borland C
This commit is contained in:
parent
0fbec64c56
commit
051ab123b4
22 changed files with 67 additions and 63 deletions
|
@ -55,7 +55,7 @@ typedef struct {
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue