File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -300,14 +300,18 @@ extern void initWin();
300300/* -- ADDMODULE MARKER 1 -- */
301301
302302extern void initmarshal ();
303+ extern void initimp ();
303304
304305struct {
305306 char * name ;
306307 void (* initfunc )();
307308} inittab [] = {
308309
309310 {"array" , initarray },
311+ #ifndef __SC__
312+ /* Do this one later... */
310313 {"math" , initmath },
314+ #endif
311315 {"parser" , initparser },
312316 {"mac" , initmac },
313317 {"MacOS" , MacOS_Init },
@@ -328,7 +332,10 @@ struct {
328332#ifdef THINK_C
329333 {"macconsole" , initmacconsole },
330334#endif
335+ #ifndef __SC__
336+ /* Do this one later... */
331337 {"ctb" , initctb },
338+ #endif
332339 {"macfs" , initmacfs },
333340#ifdef __MWERKS__
334341/* This is really "Jack Jansen" specific for now :-) */
@@ -338,23 +345,22 @@ struct {
338345#endif
339346/* This is really "Guido van Rossum" specific... :-) */
340347 {"AE" , initAE },
341- #ifdef THINK_C
342348 {"Ctl" , initCtl },
343349 {"Dlg" , initDlg },
344- #endif
345350 {"Evt" , initEvt },
346351 {"Menu" , initMenu },
347352 {"Qd" , initQd },
348- {"Res" , initRes },
349- #ifdef THINK_C
350353 {"Snd" , initSnd },
351354 {"Win" , initWin },
352- #endif
355+ { "Res" , initRes },
353356
354357/* -- ADDMODULE MARKER 2 -- */
355358
356359 /* This module "lives in" with marshal.c */
357360 {"marshal" , initmarshal },
361+
362+ /* This module "lives in" with import.c */
363+ {"imp" , initimp },
358364
359365 /* These entries are here for sys.builtin_module_names */
360366 {"__main__" , NULL },
You can’t perform that action at this time.
0 commit comments