mirror of
https://github.com/python/cpython
synced 2024-07-20 17:55:24 +00:00
atexit is a builtin module now, provide that on Windows.
This commit is contained in:
parent
19b52545df
commit
7f16288134
|
@ -60,6 +60,7 @@ extern void init_lsprof(void);
|
|||
extern void init_ast(void);
|
||||
extern void init_types(void);
|
||||
extern void init_fileio(void);
|
||||
extern void initatexit(void);
|
||||
|
||||
/* tools/freeze/makeconfig.py marker for additional "extern" */
|
||||
/* -- ADDMODULE MARKER 1 -- */
|
||||
|
@ -147,6 +148,7 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
|
||||
{"_types", init_types},
|
||||
{"_fileio", init_fileio},
|
||||
{"atexit", initatexit},
|
||||
|
||||
/* Sentinel */
|
||||
{0, 0}
|
||||
|
|
|
@ -424,6 +424,9 @@
|
|||
<File
|
||||
RelativePath="..\Python\ast.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\atexitmodule.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Modules\audioop.c">
|
||||
</File>
|
||||
|
|
Loading…
Reference in a new issue