mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 10:26:02 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									4043001f5d
								
							
						
					
					
						commit
						b98dd2e5d2
					
				
					 3 changed files with 33 additions and 3 deletions
				
			
		|  | @ -14,9 +14,11 @@ extern void initcmath(void); | ||||||
| extern void initerrno(void); | extern void initerrno(void); | ||||||
| extern void initgc(void); | extern void initgc(void); | ||||||
| extern void initmath(void); | extern void initmath(void); | ||||||
|  | extern void init_md5(void); | ||||||
| extern void initnt(void); | extern void initnt(void); | ||||||
| extern void initoperator(void); | extern void initoperator(void); | ||||||
| extern void initsignal(void); | extern void initsignal(void); | ||||||
|  | extern void init_sha1(void); | ||||||
| extern void init_sha256(void); | extern void init_sha256(void); | ||||||
| extern void init_sha512(void); | extern void init_sha512(void); | ||||||
| extern void inittime(void); | extern void inittime(void); | ||||||
|  | @ -83,6 +85,8 @@ struct _inittab _PyImport_Inittab[] = { | ||||||
|         {"nt", initnt}, /* Use the NT os functions, not posix */ |         {"nt", initnt}, /* Use the NT os functions, not posix */ | ||||||
|         {"operator", initoperator}, |         {"operator", initoperator}, | ||||||
|         {"signal", initsignal}, |         {"signal", initsignal}, | ||||||
|  |         {"_md5", init_md5}, | ||||||
|  |         {"_sha1", init_sha1}, | ||||||
|         {"_sha256", init_sha256}, |         {"_sha256", init_sha256}, | ||||||
|         {"_sha512", init_sha512}, |         {"_sha512", init_sha512}, | ||||||
|         {"time", inittime}, |         {"time", inittime}, | ||||||
|  |  | ||||||
|  | @ -631,6 +631,9 @@ | ||||||
| 		<File | 		<File | ||||||
| 			RelativePath="..\Objects\methodobject.c"> | 			RelativePath="..\Objects\methodobject.c"> | ||||||
| 		</File> | 		</File> | ||||||
|  | 		<File | ||||||
|  | 			RelativePath="..\Modules\md5module.c"> | ||||||
|  | 		</File> | ||||||
| 		<File | 		<File | ||||||
| 			RelativePath="..\Modules\mmapmodule.c"> | 			RelativePath="..\Modules\mmapmodule.c"> | ||||||
| 		</File> | 		</File> | ||||||
|  | @ -715,6 +718,9 @@ | ||||||
| 		<File | 		<File | ||||||
| 			RelativePath="..\Objects\setobject.c"> | 			RelativePath="..\Objects\setobject.c"> | ||||||
| 		</File> | 		</File> | ||||||
|  | 		<File | ||||||
|  | 			RelativePath="..\Modules\sha1module.c"> | ||||||
|  | 		</File> | ||||||
| 		<File | 		<File | ||||||
| 			RelativePath="..\Modules\sha256module.c"> | 			RelativePath="..\Modules\sha256module.c"> | ||||||
| 		</File> | 		</File> | ||||||
|  |  | ||||||
|  | @ -787,6 +787,10 @@ | ||||||
| 				RelativePath="..\..\Objects\boolobject.c" | 				RelativePath="..\..\Objects\boolobject.c" | ||||||
| 				> | 				> | ||||||
| 			</File> | 			</File> | ||||||
|  | 			<File | ||||||
|  | 				RelativePath="..\..\Objects\bytes_methods.c" | ||||||
|  | 				> | ||||||
|  | 			</File> | ||||||
| 			<File | 			<File | ||||||
| 				RelativePath="..\..\Objects\bytesobject.c" | 				RelativePath="..\..\Objects\bytesobject.c" | ||||||
| 				> | 				> | ||||||
|  | @ -973,6 +977,14 @@ | ||||||
| 				RelativePath="..\..\Include\boolobject.h" | 				RelativePath="..\..\Include\boolobject.h" | ||||||
| 				> | 				> | ||||||
| 			</File> | 			</File> | ||||||
|  | 			<File | ||||||
|  | 				RelativePath="..\..\Include\bytes_methods.h" | ||||||
|  | 				> | ||||||
|  | 			</File> | ||||||
|  | 			<File | ||||||
|  | 				RelativePath="..\..\Include\bytesobject.h" | ||||||
|  | 				> | ||||||
|  | 			</File> | ||||||
| 			<File | 			<File | ||||||
| 				RelativePath="..\..\Include\cellobject.h" | 				RelativePath="..\..\Include\cellobject.h" | ||||||
| 				> | 				> | ||||||
|  | @ -1489,6 +1501,10 @@ | ||||||
| 				RelativePath="..\..\Modules\mathmodule.c" | 				RelativePath="..\..\Modules\mathmodule.c" | ||||||
| 				> | 				> | ||||||
| 			</File> | 			</File> | ||||||
|  | 			<File | ||||||
|  | 				RelativePath="..\..\Modules\md5module.c" | ||||||
|  | 				> | ||||||
|  | 			</File> | ||||||
| 			<File | 			<File | ||||||
| 				RelativePath="..\..\Modules\mmapmodule.c" | 				RelativePath="..\..\Modules\mmapmodule.c" | ||||||
| 				> | 				> | ||||||
|  | @ -1513,6 +1529,10 @@ | ||||||
| 				RelativePath="..\..\Modules\rotatingtree.h" | 				RelativePath="..\..\Modules\rotatingtree.h" | ||||||
| 				> | 				> | ||||||
| 			</File> | 			</File> | ||||||
|  | 			<File | ||||||
|  | 				RelativePath="..\..\Modules\sha1module.c" | ||||||
|  | 				> | ||||||
|  | 			</File> | ||||||
| 			<File | 			<File | ||||||
| 				RelativePath="..\..\Modules\sha256module.c" | 				RelativePath="..\..\Modules\sha256module.c" | ||||||
| 				> | 				> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum