]> granicus.if.org Git - python/commitdiff
Build the _sha3 module with VS 2008.
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 21 Oct 2012 15:21:04 +0000 (17:21 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 21 Oct 2012 15:21:04 +0000 (17:21 +0200)
PC/VS9.0/pythoncore.vcproj
PC/config.c

index 9fb63ff105b0d7105d5eec104f11e779f33a828e..6ca5cbbf397c6f2d92300eaae4ae09131cacc710 100644 (file)
                                RelativePath="..\..\Modules\sha512module.c"\r
                                >\r
                        </File>\r
+                       <File\r
+                               RelativePath="..\..\Modules\_sha3\sha3module.c"\r
+                               >\r
+                       </File>\r
                        <File\r
                                RelativePath="..\..\Modules\signalmodule.c"\r
                                >\r
index 57b5073c712ad08ee62823b04b0e640740c97109..c1803cf1bc9008893422a13bda70cbf430e9f78e 100644 (file)
@@ -22,6 +22,7 @@ extern PyObject* PyInit_signal(void);
 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 @@ struct _inittab _PyImport_Inittab[] = {
     {"_sha1", PyInit__sha1},
     {"_sha256", PyInit__sha256},
     {"_sha512", PyInit__sha512},
+    {"_sha3", PyInit__sha3},
     {"time", PyInit_time},
 #ifdef WITH_THREAD
     {"_thread", PyInit__thread},