]> granicus.if.org Git - python/commitdiff
Enable the building of the _types module on Windows.
authorBarry Warsaw <barry@python.org>
Thu, 27 Jul 2006 23:50:40 +0000 (23:50 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 27 Jul 2006 23:50:40 +0000 (23:50 +0000)
Note that this has only been tested for VS 2003 since that's all I have.

PC/config.c
PCbuild/pythoncore.vcproj

index b832d7c64fe5729d50a23bd51ec008640d7d9d84..a9a280ded1058dd058dbba268199ffdfc880fb4f 100644 (file)
@@ -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 -- */
@@ -161,6 +162,8 @@ struct _inittab _PyImport_Inittab[] = {
         {"__builtin__", NULL},
         {"sys", NULL},
        {"exceptions", NULL},
+        
+        {"_types", init_types},
 
         /* Sentinel */
         {0, 0}
index bb9f7af1b73b6c149d785ee019ee988a8298c4e7..ef200c488a4aa92b31b5dda978b84cf2a5121fc8 100644 (file)
                <File
                        RelativePath="..\Modules\_bisectmodule.c">
                </File>
-               <File
-                       RelativePath="..\Modules\_struct.c">
-               </File>
                <File
                        RelativePath="..\Modules\cjkcodecs\_codecs_cn.c">
                </File>
                <File
                        RelativePath="..\Modules\_csv.c">
                </File>
+               <File
+                       RelativePath="..\Modules\_functoolsmodule.c">
+               </File>
                <File
                        RelativePath="..\Modules\_heapqmodule.c">
                </File>
                <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>
                <File
                        RelativePath="..\Objects\funcobject.c">
                </File>
-               <File
-                       RelativePath="..\Modules\_functoolsmodule.c">
-               </File>
                <File
                        RelativePath="..\Python\future.c">
                </File>