From b98dd2e5d2133b1c8cebd1dd221cf69eefeb154f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 22 Oct 2007 22:18:51 +0000 Subject: 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. --- PC/config.c | 4 ++++ PCbuild/pythoncore.vcproj | 12 +++++++++--- PCbuild8/pythoncore/pythoncore.vcproj | 20 ++++++++++++++++++++ 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/PC/config.c b/PC/config.c index c74b2e4..63ff2c0 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 063c0ce..19cd833 100644 --- a/PCbuild/pythoncore.vcproj +++ b/PCbuild/pythoncore.vcproj @@ -442,9 +442,9 @@ - - + + @@ -632,6 +632,9 @@ RelativePath="..\Objects\methodobject.c"> + + + + + + @@ -974,6 +978,14 @@ > + + + + @@ -1490,6 +1502,10 @@ > + + @@ -1514,6 +1530,10 @@ > + + -- cgit v0.12