[Python-checkins] r46153 - in python/trunk: PC/config.c PCbuild/pythoncore.vcproj

tim.peters python-checkins at python.org
Tue May 23 21:34:37 CEST 2006


Author: tim.peters
Date: Tue May 23 21:34:37 2006
New Revision: 46153

Modified:
   python/trunk/PC/config.c
   python/trunk/PCbuild/pythoncore.vcproj
Log:
Get the Windows build working again (recover from
`struct` module changes).


Modified: python/trunk/PC/config.c
==============================================================================
--- python/trunk/PC/config.c	(original)
+++ python/trunk/PC/config.c	Tue May 23 21:34:37 2006
@@ -28,7 +28,6 @@
 extern void init_sha256(void);
 extern void init_sha512(void);
 extern void initstrop(void);
-extern void initstruct(void);
 extern void inittime(void);
 extern void initthread(void);
 extern void initcStringIO(void);
@@ -53,6 +52,7 @@
 extern void init_sre(void);
 extern void initparser(void);
 extern void init_winreg(void);
+extern void init_struct(void);
 extern void initdatetime(void);
 extern void initfunctional(void);
 extern void initzlib(void);
@@ -102,7 +102,6 @@
         {"_sha256", init_sha256},
         {"_sha512", init_sha512},
         {"strop", initstrop},
-        {"struct", initstruct},
         {"time", inittime},
 #ifdef WITH_THREAD
         {"thread", initthread},
@@ -131,6 +130,7 @@
 	{"_sre", init_sre},
 	{"parser", initparser},
 	{"_winreg", init_winreg},
+	{"_struct", init_struct},
 	{"datetime", initdatetime},
 	{"functional", initfunctional},
 

Modified: python/trunk/PCbuild/pythoncore.vcproj
==============================================================================
--- python/trunk/PCbuild/pythoncore.vcproj	(original)
+++ python/trunk/PCbuild/pythoncore.vcproj	Tue May 23 21:34:37 2006
@@ -344,6 +344,9 @@
 			RelativePath="..\Modules\_bisectmodule.c">
 		</File>
 		<File
+			RelativePath="..\Modules\_struct.c">
+		</File>
+		<File
 			RelativePath="..\Modules\cjkcodecs\_codecs_cn.c">
 		</File>
 		<File
@@ -746,9 +749,6 @@
 			RelativePath="..\Python\structmember.c">
 		</File>
 		<File
-			RelativePath="..\Modules\structmodule.c">
-		</File>
-		<File
 			RelativePath="..\Objects\structseq.c">
 		</File>
 		<File


More information about the Python-checkins mailing list