mirror of
https://github.com/python/cpython.git
synced 2025-11-28 14:11:15 +00:00
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.
This commit is contained in:
parent
92e9fd5a5e
commit
d17301f95c
2 changed files with 12 additions and 6 deletions
|
|
@ -67,6 +67,7 @@ extern void init_codecs_tw(void);
|
|||
extern void init_subprocess(void);
|
||||
extern void init_lsprof(void);
|
||||
extern void init_ast(void);
|
||||
extern void init_types(void);
|
||||
|
||||
/* tools/freeze/makeconfig.py marker for additional "extern" */
|
||||
/* -- ADDMODULE MARKER 1 -- */
|
||||
|
|
@ -162,6 +163,8 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
{"sys", NULL},
|
||||
{"exceptions", NULL},
|
||||
|
||||
{"_types", init_types},
|
||||
|
||||
/* Sentinel */
|
||||
{0, 0}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -343,9 +343,6 @@
|
|||
<File
|
||||
RelativePath="..\Modules\_bisectmodule.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\_struct.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\cjkcodecs\_codecs_cn.c">
|
||||
</File>
|
||||
|
|
@ -370,6 +367,9 @@
|
|||
<File
|
||||
RelativePath="..\Modules\_csv.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\_functoolsmodule.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\_heapqmodule.c">
|
||||
</File>
|
||||
|
|
@ -388,9 +388,15 @@
|
|||
<File
|
||||
RelativePath="..\Modules\_sre.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\_struct.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Pc\_subprocess.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\_typesmodule.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\_weakref.c">
|
||||
</File>
|
||||
|
|
@ -514,9 +520,6 @@
|
|||
<File
|
||||
RelativePath="..\Objects\funcobject.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\_functoolsmodule.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Python\future.c">
|
||||
</File>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue