mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Changes for dynamic linking under NT
This commit is contained in:
parent
14aa5da824
commit
e89bc75048
21 changed files with 72 additions and 59 deletions
|
@ -227,7 +227,7 @@ typedef struct _typeobject {
|
|||
#endif
|
||||
} typeobject;
|
||||
|
||||
extern typeobject Typetype; /* The type of type objects */
|
||||
extern DL_IMPORT typeobject Typetype; /* The type of type objects */
|
||||
|
||||
#define is_typeobject(op) ((op)->ob_type == &Typetype)
|
||||
|
||||
|
@ -341,7 +341,7 @@ where NULL (nil) is not suitable (since NULL often means 'error').
|
|||
Don't forget to apply INCREF() when returning this value!!!
|
||||
*/
|
||||
|
||||
extern object NoObject; /* Don't use this directly */
|
||||
extern DL_IMPORT object NoObject; /* Don't use this directly */
|
||||
|
||||
#define None (&NoObject)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue