diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1999-02-07 14:00:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1999-02-07 14:00:50 (GMT) |
commit | b0687899d7a84c09f00bcf492e76eee3a44143b3 (patch) | |
tree | 1286fbe13141778673bc74a50badbd50ea393867 /Mac/Modules | |
parent | fd44e3d1f43490068a4431ae67e5364d8b79961d (diff) | |
download | cpython-b0687899d7a84c09f00bcf492e76eee3a44143b3.zip cpython-b0687899d7a84c09f00bcf492e76eee3a44143b3.tar.gz cpython-b0687899d7a84c09f00bcf492e76eee3a44143b3.tar.bz2 |
Added a define USE_CORE_TOOLBOX, which includes six core toolbox modules
into the config file. This define is also automatically set if USE_TOOLBOX is
defined.
Diffstat (limited to 'Mac/Modules')
-rw-r--r-- | Mac/Modules/macconfig.c | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c index 46a127e..72d9b0a 100644 --- a/Mac/Modules/macconfig.c +++ b/Mac/Modules/macconfig.c @@ -96,24 +96,30 @@ extern void initmacdnr(); extern void initmactcp(); #endif #ifdef USE_TOOLBOX +#ifndef USE_CORE_TOOLBOX +#define USE_CORE_TOOLBOX +#endif extern void initAE(); -extern void initCtl(); -extern void initDlg(); extern void initEvt(); extern void initFm(); extern void initHelp(); +extern void initIcn(); extern void initList(); -extern void initMenu(); -extern void initQd(); -extern void initRes(); extern void initSnd(); extern void initSndihooks(); extern void initScrap(); extern void initTE(); -extern void initWin(); extern void initColorPicker(); extern void initPrinting(); #endif +#ifdef USE_CORE_TOOLBOX +extern void initCtl(); +extern void initDlg(); +extern void initMenu(); +extern void initQd(); +extern void initRes(); +extern void initWin(); +#endif #ifdef USE_QT extern void initCm(); extern void initQt(); @@ -205,22 +211,25 @@ struct _inittab _PyImport_Inittab[] = { {"macdnr", initmacdnr}, {"mactcp", initmactcp}, #endif -#ifdef USE_TOOLBOX - {"AE", initAE}, +#ifdef USE_CORE_TOOLBOX {"Ctl", initCtl}, {"Dlg", initDlg}, + {"Menu", initMenu}, + {"Qd", initQd}, + {"Win", initWin}, + {"Res", initRes}, +#endif +#ifdef USE_TOOLBOX + {"AE", initAE}, {"Evt", initEvt}, {"Fm", initFm}, {"Help", initHelp}, - {"Menu", initMenu}, + {"Icn", initIcn}, {"List", initList}, - {"Qd", initQd}, {"Snd", initSnd}, {"Sndihooks", initSndihooks}, {"Scrap", initScrap}, {"TE", initTE}, - {"Win", initWin}, - {"Res", initRes}, {"ColorPicker", initColorPicker}, {"Printing", initPrinting}, #endif |