summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-07-13 13:13:40 (GMT)
committerThomas Heller <theller@ctypes.org>2007-07-13 13:13:40 (GMT)
commit7f162881343dd970cd133cf4a433e96e1ab24586 (patch)
tree138a6fb3f51f3c8cf67ac67daa29d2ea39b09a25 /PC/config.c
parent19b52545df898ec911c44e29f75badb902924c0b (diff)
downloadcpython-7f162881343dd970cd133cf4a433e96e1ab24586.zip
cpython-7f162881343dd970cd133cf4a433e96e1ab24586.tar.gz
cpython-7f162881343dd970cd133cf4a433e96e1ab24586.tar.bz2
atexit is a builtin module now, provide that on Windows.
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index 68fa84f..38d91de 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -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}