From: Jack Jansen Date: Wed, 28 Jun 2000 21:59:35 +0000 (+0000) Subject: added ucnhash (optional on USE_UCNHASH) and the mysteriously disappeared math. X-Git-Tag: v2.0b1~1339 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ed1148b75de3ab7b969cc22c35bdb6273992954;p=thirdparty%2FPython%2Fcpython.git added ucnhash (optional on USE_UCNHASH) and the mysteriously disappeared math. --- diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c index 88d75df8f303..3bbb42657a12 100644 --- a/Mac/Modules/macconfig.c +++ b/Mac/Modules/macconfig.c @@ -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 -- */