Commit 99d20f61 authored by Guido van Rossum's avatar Guido van Rossum

added imp; forget ctb and math for __SC__ (for now)

parent eabdbff7
...@@ -300,6 +300,7 @@ extern void initWin(); ...@@ -300,6 +300,7 @@ extern void initWin();
/* -- ADDMODULE MARKER 1 -- */ /* -- ADDMODULE MARKER 1 -- */
extern void initmarshal(); extern void initmarshal();
extern void initimp();
struct { struct {
char *name; char *name;
...@@ -307,7 +308,10 @@ struct { ...@@ -307,7 +308,10 @@ struct {
} inittab[] = { } inittab[] = {
{"array", initarray}, {"array", initarray},
#ifndef __SC__
/* Do this one later... */
{"math", initmath}, {"math", initmath},
#endif
{"parser", initparser}, {"parser", initparser},
{"mac", initmac}, {"mac", initmac},
{"MacOS", MacOS_Init}, {"MacOS", MacOS_Init},
...@@ -328,7 +332,10 @@ struct { ...@@ -328,7 +332,10 @@ struct {
#ifdef THINK_C #ifdef THINK_C
{"macconsole", initmacconsole}, {"macconsole", initmacconsole},
#endif #endif
#ifndef __SC__
/* Do this one later... */
{"ctb", initctb}, {"ctb", initctb},
#endif
{"macfs", initmacfs}, {"macfs", initmacfs},
#ifdef __MWERKS__ #ifdef __MWERKS__
/* This is really "Jack Jansen" specific for now :-) */ /* This is really "Jack Jansen" specific for now :-) */
...@@ -338,23 +345,22 @@ struct { ...@@ -338,23 +345,22 @@ struct {
#endif #endif
/* This is really "Guido van Rossum" specific... :-) */ /* This is really "Guido van Rossum" specific... :-) */
{"AE", initAE}, {"AE", initAE},
#ifdef THINK_C
{"Ctl", initCtl}, {"Ctl", initCtl},
{"Dlg", initDlg}, {"Dlg", initDlg},
#endif
{"Evt", initEvt}, {"Evt", initEvt},
{"Menu", initMenu}, {"Menu", initMenu},
{"Qd", initQd}, {"Qd", initQd},
{"Res", initRes},
#ifdef THINK_C
{"Snd", initSnd}, {"Snd", initSnd},
{"Win", initWin}, {"Win", initWin},
#endif {"Res", initRes},
/* -- ADDMODULE MARKER 2 -- */ /* -- ADDMODULE MARKER 2 -- */
/* This module "lives in" with marshal.c */ /* This module "lives in" with marshal.c */
{"marshal", initmarshal}, {"marshal", initmarshal},
/* This module "lives in" with import.c */
{"imp", initimp},
/* These entries are here for sys.builtin_module_names */ /* These entries are here for sys.builtin_module_names */
{"__main__", NULL}, {"__main__", NULL},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment