[Python-checkins] cpython: Build the _sha3 module with VS 2008.

antoine.pitrou python-checkins at python.org
Sun Oct 21 17:23:09 CEST 2012


http://hg.python.org/cpython/rev/ce9c9cbd1b11
changeset:   79875:ce9c9cbd1b11
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sun Oct 21 17:21:04 2012 +0200
summary:
  Build the _sha3 module with VS 2008.

files:
  PC/VS9.0/pythoncore.vcproj |  4 ++++
  PC/config.c                |  2 ++
  2 files changed, 6 insertions(+), 0 deletions(-)


diff --git a/PC/VS9.0/pythoncore.vcproj b/PC/VS9.0/pythoncore.vcproj
--- a/PC/VS9.0/pythoncore.vcproj
+++ b/PC/VS9.0/pythoncore.vcproj
@@ -1151,6 +1151,10 @@
 				>
 			</File>
 			<File
+				RelativePath="..\..\Modules\_sha3\sha3module.c"
+				>
+			</File>
+			<File
 				RelativePath="..\..\Modules\signalmodule.c"
 				>
 			</File>
diff --git a/PC/config.c b/PC/config.c
--- a/PC/config.c
+++ b/PC/config.c
@@ -22,6 +22,7 @@
 extern PyObject* PyInit__sha1(void);
 extern PyObject* PyInit__sha256(void);
 extern PyObject* PyInit__sha512(void);
+extern PyObject* PyInit__sha3(void);
 extern PyObject* PyInit_time(void);
 extern PyObject* PyInit__thread(void);
 #ifdef WIN32
@@ -93,6 +94,7 @@
     {"_sha1", PyInit__sha1},
     {"_sha256", PyInit__sha256},
     {"_sha512", PyInit__sha512},
+    {"_sha3", PyInit__sha3},
     {"time", PyInit_time},
 #ifdef WITH_THREAD
     {"_thread", PyInit__thread},

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list