Kaydet (Commit) 7f162881 authored tarafından Thomas Heller's avatar Thomas Heller

atexit is a builtin module now, provide that on Windows.

üst 19b52545
...@@ -60,6 +60,7 @@ extern void init_lsprof(void); ...@@ -60,6 +60,7 @@ extern void init_lsprof(void);
extern void init_ast(void); extern void init_ast(void);
extern void init_types(void); extern void init_types(void);
extern void init_fileio(void); extern void init_fileio(void);
extern void initatexit(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */ /* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */ /* -- ADDMODULE MARKER 1 -- */
...@@ -147,6 +148,7 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -147,6 +148,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_types", init_types}, {"_types", init_types},
{"_fileio", init_fileio}, {"_fileio", init_fileio},
{"atexit", initatexit},
/* Sentinel */ /* Sentinel */
{0, 0} {0, 0}
......
...@@ -424,6 +424,9 @@ ...@@ -424,6 +424,9 @@
<File <File
RelativePath="..\Python\ast.c"> RelativePath="..\Python\ast.c">
</File> </File>
<File
RelativePath="..\Modules\atexitmodule.c">
</File>
<File <File
RelativePath="..\Modules\audioop.c"> RelativePath="..\Modules\audioop.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