mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +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
|
|
@ -50,7 +50,7 @@ typedef struct {
|
|||
long ob_ival;
|
||||
} intobject;
|
||||
|
||||
extern typeobject Inttype;
|
||||
extern DL_IMPORT typeobject Inttype;
|
||||
|
||||
#define is_intobject(op) ((op)->ob_type == &Inttype)
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ Hope these macros don't conflict with other people's.
|
|||
Don't forget to apply INCREF() when returning True or False!!!
|
||||
*/
|
||||
|
||||
extern intobject FalseObject, TrueObject; /* Don't use these directly */
|
||||
extern DL_IMPORT intobject FalseObject, TrueObject; /* Don't use these directly */
|
||||
|
||||
#define False ((object *) &FalseObject)
|
||||
#define True ((object *) &TrueObject)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue