From 0ed1148b75de3ab7b969cc22c35bdb6273992954 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 28 Jun 2000 21:59:35 +0000 Subject: added ucnhash (optional on USE_UCNHASH) and the mysteriously disappeared math. --- Mac/Modules/macconfig.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c index 88d75df..3bbb426 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 -- */ -- cgit v0.12