Kaydet (Commit) d17301f9 authored tarafından Barry Warsaw's avatar Barry Warsaw

Enable the building of the _types module on Windows.

Note that this has only been tested for VS 2003 since that's all I have.
üst 92e9fd5a
...@@ -67,6 +67,7 @@ extern void init_codecs_tw(void); ...@@ -67,6 +67,7 @@ extern void init_codecs_tw(void);
extern void init_subprocess(void); extern void init_subprocess(void);
extern void init_lsprof(void); extern void init_lsprof(void);
extern void init_ast(void); extern void init_ast(void);
extern void init_types(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */ /* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */ /* -- ADDMODULE MARKER 1 -- */
...@@ -161,6 +162,8 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -161,6 +162,8 @@ struct _inittab _PyImport_Inittab[] = {
{"__builtin__", NULL}, {"__builtin__", NULL},
{"sys", NULL}, {"sys", NULL},
{"exceptions", NULL}, {"exceptions", NULL},
{"_types", init_types},
/* Sentinel */ /* Sentinel */
{0, 0} {0, 0}
......
...@@ -343,9 +343,6 @@ ...@@ -343,9 +343,6 @@
<File <File
RelativePath="..\Modules\_bisectmodule.c"> RelativePath="..\Modules\_bisectmodule.c">
</File> </File>
<File
RelativePath="..\Modules\_struct.c">
</File>
<File <File
RelativePath="..\Modules\cjkcodecs\_codecs_cn.c"> RelativePath="..\Modules\cjkcodecs\_codecs_cn.c">
</File> </File>
...@@ -370,6 +367,9 @@ ...@@ -370,6 +367,9 @@
<File <File
RelativePath="..\Modules\_csv.c"> RelativePath="..\Modules\_csv.c">
</File> </File>
<File
RelativePath="..\Modules\_functoolsmodule.c">
</File>
<File <File
RelativePath="..\Modules\_heapqmodule.c"> RelativePath="..\Modules\_heapqmodule.c">
</File> </File>
...@@ -388,9 +388,15 @@ ...@@ -388,9 +388,15 @@
<File <File
RelativePath="..\Modules\_sre.c"> RelativePath="..\Modules\_sre.c">
</File> </File>
<File
RelativePath="..\Modules\_struct.c">
</File>
<File <File
RelativePath="..\Pc\_subprocess.c"> RelativePath="..\Pc\_subprocess.c">
</File> </File>
<File
RelativePath="..\Modules\_typesmodule.c">
</File>
<File <File
RelativePath="..\Modules\_weakref.c"> RelativePath="..\Modules\_weakref.c">
</File> </File>
...@@ -514,9 +520,6 @@ ...@@ -514,9 +520,6 @@
<File <File
RelativePath="..\Objects\funcobject.c"> RelativePath="..\Objects\funcobject.c">
</File> </File>
<File
RelativePath="..\Modules\_functoolsmodule.c">
</File>
<File <File
RelativePath="..\Python\future.c"> RelativePath="..\Python\future.c">
</File> </File>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment