Spaces:
Running
Running
/* Public interface */ | |
/* bpo-39562: CO_FUTURE_ and PyCF_ constants must be kept unique. | |
PyCF_ constants can use bits from 0x0100 to 0x10000. | |
CO_FUTURE_ constants use bits starting at 0x20000. */ | |
typedef struct { | |
int cf_flags; /* bitmask of CO_xxx flags relevant to future */ | |
int cf_feature_version; /* minor Python version (PyCF_ONLY_AST) */ | |
} PyCompilerFlags; | |
/* Future feature support */ | |
typedef struct { | |
int ff_features; /* flags set by future statements */ | |
int ff_lineno; /* line number of last future statement */ | |
} PyFutureFeatures; | |
PyAPI_FUNC(int) PyCompile_OpcodeStackEffect(int opcode, int oparg); | |
PyAPI_FUNC(int) PyCompile_OpcodeStackEffectWithJump(int opcode, int oparg, int jump); | |