mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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
|
@ -31,7 +31,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
/* Dictionary object type -- mapping from hashable object to object */
|
||||
/* NB Should be moved back to dictobject.h */
|
||||
|
||||
extern DL_IMPORT PyTypeObject PyDict_Type;
|
||||
extern DL_IMPORT(PyTypeObject) PyDict_Type;
|
||||
|
||||
#define PyDict_Check(op) ((op)->ob_type == &PyDict_Type)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue