]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
added ucnhash (optional on USE_UCNHASH) and the mysteriously disappeared math.
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 28 Jun 2000 21:59:35 +0000 (21:59 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 28 Jun 2000 21:59:35 +0000 (21:59 +0000)
Mac/Modules/macconfig.c

index 88d75df8f3035f0e5964940e1aaabb0347a0d722..3bbb42657a122abc5861ebda50105560191c433a 100644 (file)
@@ -161,6 +161,9 @@ extern void initcPickle();
 extern void initcStringIO();
 extern void init_codecs();
 extern void init_locale();
+#ifdef USE_UCNHASH
+extern void initucnhash();
+#endif
 /* -- ADDMODULE MARKER 1 -- */
 
 extern void PyMarshal_Init();
@@ -169,6 +172,7 @@ extern void initimp();
 struct _inittab _PyImport_Inittab[] = {
 
        {"array", initarray},
+       {"math", initmath},
 #ifndef WITHOUT_COMPLEX
        {"cmath", initcmath},
 #endif
@@ -273,8 +277,10 @@ struct _inittab _PyImport_Inittab[] = {
 #endif
        {"cPickle",     initcPickle},
        {"cStringIO",   initcStringIO},
-       {"_codecs", init_codecs},
        {"_locale", init_locale},
+#ifdef USE_UCNHASH
+       {"ucnhash", initucnhash},
+#endif
 
 /* -- ADDMODULE MARKER 2 -- */