From: Guido van Rossum Date: Mon, 22 Oct 2007 22:18:51 +0000 (+0000) Subject: Patch 1304, by Amaury Forgeot d'Arc. X-Git-Tag: v3.0a2~293 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b98dd2e5d2133b1c8cebd1dd221cf69eefeb154f;p=thirdparty%2FPython%2Fcpython.git Patch 1304, by Amaury Forgeot d'Arc. Add md5module.c and sha1module.c to the project files, and in some cases bytes_methods.c and related .h files. --- diff --git a/PC/config.c b/PC/config.c index c74b2e464a9b..63ff2c019bc5 100644 --- a/PC/config.c +++ b/PC/config.c @@ -14,9 +14,11 @@ extern void initcmath(void); extern void initerrno(void); extern void initgc(void); extern void initmath(void); +extern void init_md5(void); extern void initnt(void); extern void initoperator(void); extern void initsignal(void); +extern void init_sha1(void); extern void init_sha256(void); extern void init_sha512(void); extern void inittime(void); @@ -83,6 +85,8 @@ struct _inittab _PyImport_Inittab[] = { {"nt", initnt}, /* Use the NT os functions, not posix */ {"operator", initoperator}, {"signal", initsignal}, + {"_md5", init_md5}, + {"_sha1", init_sha1}, {"_sha256", init_sha256}, {"_sha512", init_sha512}, {"time", inittime}, diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj index 063c0ce6ca33..19cd83343deb 100644 --- a/PCbuild/pythoncore.vcproj +++ b/PCbuild/pythoncore.vcproj @@ -442,9 +442,9 @@ - - + + @@ -631,6 +631,9 @@ + + @@ -715,6 +718,9 @@ + + diff --git a/PCbuild8/pythoncore/pythoncore.vcproj b/PCbuild8/pythoncore/pythoncore.vcproj index f11f57e0f658..7e36945fe38d 100644 --- a/PCbuild8/pythoncore/pythoncore.vcproj +++ b/PCbuild8/pythoncore/pythoncore.vcproj @@ -787,6 +787,10 @@ RelativePath="..\..\Objects\boolobject.c" > + + @@ -973,6 +977,14 @@ RelativePath="..\..\Include\boolobject.h" > + + + + @@ -1489,6 +1501,10 @@ RelativePath="..\..\Modules\mathmodule.c" > + + @@ -1513,6 +1529,10 @@ RelativePath="..\..\Modules\rotatingtree.h" > + +