summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/config.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-18 14:58:54 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-18 14:58:54 (GMT)
commit99d20f618cbef6bb12f2be242597bac9a193079a (patch)
tree84add9bc31894d5c1574f8caeca39f31afccf3d5 /Mac/Modules/config.c
parenteabdbff717f0282579750f697a6e6827a2e7c314 (diff)
downloadcpython-99d20f618cbef6bb12f2be242597bac9a193079a.zip
cpython-99d20f618cbef6bb12f2be242597bac9a193079a.tar.gz
cpython-99d20f618cbef6bb12f2be242597bac9a193079a.tar.bz2
added imp; forget ctb and math for __SC__ (for now)
Diffstat (limited to 'Mac/Modules/config.c')
-rw-r--r--Mac/Modules/config.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c
index ba6f999..f8b5a4a 100644
--- a/Mac/Modules/config.c
+++ b/Mac/Modules/config.c
@@ -300,6 +300,7 @@ extern void initWin();
/* -- ADDMODULE MARKER 1 -- */
extern void initmarshal();
+extern void initimp();
struct {
char *name;
@@ -307,7 +308,10 @@ struct {
} inittab[] = {
{"array", initarray},
+#ifndef __SC__
+/* Do this one later... */
{"math", initmath},
+#endif
{"parser", initparser},
{"mac", initmac},
{"MacOS", MacOS_Init},
@@ -328,7 +332,10 @@ struct {
#ifdef THINK_C
{"macconsole", initmacconsole},
#endif
+#ifndef __SC__
+/* Do this one later... */
{"ctb", initctb},
+#endif
{"macfs", initmacfs},
#ifdef __MWERKS__
/* This is really "Jack Jansen" specific for now :-) */
@@ -338,23 +345,22 @@ struct {
#endif
/* This is really "Guido van Rossum" specific... :-) */
{"AE", initAE},
-#ifdef THINK_C
{"Ctl", initCtl},
{"Dlg", initDlg},
-#endif
{"Evt", initEvt},
{"Menu", initMenu},
{"Qd", initQd},
- {"Res", initRes},
-#ifdef THINK_C
{"Snd", initSnd},
{"Win", initWin},
-#endif
+ {"Res", initRes},
/* -- ADDMODULE MARKER 2 -- */
/* This module "lives in" with marshal.c */
{"marshal", initmarshal},
+
+ /* This module "lives in" with import.c */
+ {"imp", initimp},
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},