File tree Expand file tree Collapse file tree 5 files changed +7
-11
lines changed
Expand file tree Collapse file tree 5 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 5555 pass
5656 */
5757
58+ #define Py_LIMITED_API 0x030a0000
59+
5860#include "Python.h"
5961
6062// Module state
Original file line number Diff line number Diff line change 55 * See the xxlimited module for an extension module template.
66 */
77
8- /* Xxo objects */
8+ #define Py_LIMITED_API 0x03050000
99
1010#include "Python.h"
1111
12+ /* Xxo objects */
13+
1214static PyObject * ErrorObject ;
1315
1416typedef struct {
Original file line number Diff line number Diff line change 9393 <_ProjectFileVersion >10.0.30319.1</_ProjectFileVersion >
9494 </PropertyGroup >
9595 <ItemDefinitionGroup >
96- <ClCompile >
97- <PreprocessorDefinitions >%(PreprocessorDefinitions);Py_LIMITED_API=0x030A0000</PreprocessorDefinitions >
98- </ClCompile >
9996 <Link >
10097 <AdditionalDependencies >wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies >
10198 </Link >
Original file line number Diff line number Diff line change 9393 <_ProjectFileVersion >10.0.30319.1</_ProjectFileVersion >
9494 </PropertyGroup >
9595 <ItemDefinitionGroup >
96- <ClCompile >
97- <PreprocessorDefinitions >%(PreprocessorDefinitions);Py_LIMITED_API=0x03060000</PreprocessorDefinitions >
98- </ClCompile >
9996 <Link >
10097 <AdditionalDependencies >wsock32.lib;%(AdditionalDependencies)</AdditionalDependencies >
10198 </Link >
Original file line number Diff line number Diff line change @@ -1865,10 +1865,8 @@ def detect_modules(self):
18651865## self.add(Extension('xx', ['xxmodule.c']))
18661866
18671867 # Limited C API
1868- self .add (Extension ('xxlimited' , ['xxlimited.c' ],
1869- define_macros = [('Py_LIMITED_API' , '0x030a0000' )]))
1870- self .add (Extension ('xxlimited_35' , ['xxlimited_35.c' ],
1871- define_macros = [('Py_LIMITED_API' , '0x03050000' )]))
1868+ self .add (Extension ('xxlimited' , ['xxlimited.c' ]))
1869+ self .add (Extension ('xxlimited_35' , ['xxlimited_35.c' ]))
18721870
18731871 def detect_tkinter_fromenv (self ):
18741872 # Build _tkinter using the Tcl/Tk locations specified by
You can’t perform that action at this time.
0 commit comments