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.
This commit is contained in:
Guido van Rossum 2007-10-22 22:18:51 +00:00
parent 4043001f5d
commit b98dd2e5d2
3 changed files with 33 additions and 3 deletions

View File

@ -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},

View File

@ -442,9 +442,9 @@
<File
RelativePath="..\Objects\bytes_methods.c">
</File>
<File
RelativePath="..\Objects\bytesobject.c">
</File>
<File
RelativePath="..\Objects\bytesobject.c">
</File>
<File
RelativePath="..\Objects\cellobject.c">
</File>
@ -631,6 +631,9 @@
<File
RelativePath="..\Objects\methodobject.c">
</File>
<File
RelativePath="..\Modules\md5module.c">
</File>
<File
RelativePath="..\Modules\mmapmodule.c">
</File>
@ -715,6 +718,9 @@
<File
RelativePath="..\Objects\setobject.c">
</File>
<File
RelativePath="..\Modules\sha1module.c">
</File>
<File
RelativePath="..\Modules\sha256module.c">
</File>

View File

@ -787,6 +787,10 @@
RelativePath="..\..\Objects\boolobject.c"
>
</File>
<File
RelativePath="..\..\Objects\bytes_methods.c"
>
</File>
<File
RelativePath="..\..\Objects\bytesobject.c"
>
@ -973,6 +977,14 @@
RelativePath="..\..\Include\boolobject.h"
>
</File>
<File
RelativePath="..\..\Include\bytes_methods.h"
>
</File>
<File
RelativePath="..\..\Include\bytesobject.h"
>
</File>
<File
RelativePath="..\..\Include\cellobject.h"
>
@ -1489,6 +1501,10 @@
RelativePath="..\..\Modules\mathmodule.c"
>
</File>
<File
RelativePath="..\..\Modules\md5module.c"
>
</File>
<File
RelativePath="..\..\Modules\mmapmodule.c"
>
@ -1513,6 +1529,10 @@
RelativePath="..\..\Modules\rotatingtree.h"
>
</File>
<File
RelativePath="..\..\Modules\sha1module.c"
>
</File>
<File
RelativePath="..\..\Modules\sha256module.c"
>