]> granicus.if.org Git - python/commitdiff
atexit is a builtin module now, provide that on Windows.
authorThomas Heller <theller@ctypes.org>
Fri, 13 Jul 2007 13:13:40 +0000 (13:13 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 13 Jul 2007 13:13:40 +0000 (13:13 +0000)
PC/config.c
PCbuild/pythoncore.vcproj

index 68fa84f6aae0d69359792be1333b6478adb15004..38d91deaf62a593a097dc601f953d617af616192 100644 (file)
@@ -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}
index 1da5593c731d3c2c2ba1a35e4eee666c021da0d6..4519e9f8b16092dcca9a68dccc2a949080151f2c 100644 (file)
                <File
                        RelativePath="..\Python\ast.c">
                </File>
+               <File
+                       RelativePath="..\Modules\atexitmodule.c">
+               </File>
                <File
                        RelativePath="..\Modules\audioop.c">
                </File>