Mercurial > cpython-lru_cache-weakref
annotate Mac/Modules/config.c @ 4566:6403c94de50d legacy-trunk
Added safeguard against failure in __del__.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 27 Nov 1996 19:39:58 +0000 |
| parents | 669ccd9e717e |
| children | 67a5221a2f60 |
| rev | line source |
|---|---|
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1676
diff
changeset
|
1 /* -*- C -*- *********************************************** |
| 2091 | 2 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, |
| 3 The Netherlands. | |
| 1495 | 4 |
| 5 All Rights Reserved | |
| 6 | |
| 7 Permission to use, copy, modify, and distribute this software and its | |
| 8 documentation for any purpose and without fee is hereby granted, | |
| 9 provided that the above copyright notice appear in all copies and that | |
| 10 both that copyright notice and this permission notice appear in | |
| 11 supporting documentation, and that the names of Stichting Mathematisch | |
| 12 Centrum or CWI not be used in advertising or publicity pertaining to | |
| 13 distribution of the software without specific, written prior permission. | |
| 14 | |
| 15 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO | |
| 16 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | |
| 17 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE | |
| 18 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
| 19 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
| 20 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT | |
| 21 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
| 22 | |
| 23 ******************************************************************/ | |
| 24 | |
| 1808 | 25 /* Macintosh Python configuration file */ |
| 1495 | 26 |
|
2986
7d268342dc3a
Lots of stuff removed: gone to various other files.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2940
diff
changeset
|
27 #include "Python.h" |
| 1495 | 28 /* Table of built-in modules. |
| 29 These are initialized when first imported. | |
| 30 Note: selection of optional extensions is now generally done by the | |
| 31 makesetup script. */ | |
| 32 | |
| 33 extern void initarray(); | |
| 34 extern void initmath(); | |
| 3372 | 35 #ifndef WITHOUT_COMPLEX |
| 36 extern void initcmath(); | |
| 37 #endif | |
| 1495 | 38 extern void initparser(); |
| 39 extern void initmac(); | |
|
1916
e125f5021e67
config.c: add MacOS module
Guido van Rossum <guido@python.org>
parents:
1822
diff
changeset
|
40 extern void MacOS_Init(); |
| 1495 | 41 extern void initregex(); |
| 42 extern void initstrop(); | |
| 43 extern void initstruct(); | |
| 44 extern void inittime(); | |
| 45 extern void initdbm(); | |
| 46 extern void initfcntl(); | |
| 47 extern void initnis(); | |
| 48 extern void initpwd(); | |
| 49 extern void initgrp(); | |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1676
diff
changeset
|
50 extern void initcrypt(); |
| 1495 | 51 extern void initselect(); |
| 52 extern void initsocket(); | |
| 53 extern void initaudioop(); | |
| 54 extern void initimageop(); | |
| 55 extern void initrgbimg(); | |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
56 #ifdef USE_STDWIN |
| 1495 | 57 extern void initstdwin(); |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
58 #endif |
| 1495 | 59 extern void initmd5(); |
| 60 extern void initmpz(); | |
| 61 extern void initrotor(); | |
| 62 extern void inital(); | |
| 63 extern void initcd(); | |
| 64 extern void initcl(); | |
| 65 extern void initfm(); | |
| 66 extern void initgl(); | |
| 67 extern void initimgfile(); | |
| 1808 | 68 extern void initimgformat(); |
| 1495 | 69 extern void initsgi(); |
| 70 extern void initsv(); | |
| 71 extern void initfl(); | |
| 72 extern void initthread(); | |
| 73 extern void inittiming(); | |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1676
diff
changeset
|
74 extern void initsignal(); |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1676
diff
changeset
|
75 extern void initnew(); |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1676
diff
changeset
|
76 extern void initdl(); |
|
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1676
diff
changeset
|
77 extern void initsyslog(); |
| 1808 | 78 extern void initgestalt(); |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
79 extern void initmacfs(); |
| 2912 | 80 extern void initbinascii(); |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
81 #ifdef THINK |
|
2030
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
82 extern void initmacconsole(); |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
83 #endif |
|
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
84 #ifdef USE_MACCTB |
|
2030
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
85 extern void initctb(); |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
86 #endif |
|
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
87 #ifdef USE_MACSPEECH |
|
2030
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
88 extern void initmacspeech(); |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
89 #endif |
|
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
90 #ifdef USE_MACTCP |
|
2030
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
91 extern void initmacdnr(); |
|
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
92 extern void initmactcp(); |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
93 #endif |
|
4054
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
94 #ifdef USE_TOOLBOX |
|
2185
9c8b4323808b
ported Jacks changes back to think C
Guido van Rossum <guido@python.org>
parents:
2091
diff
changeset
|
95 extern void initAE(); |
|
2233
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
96 extern void initCtl(); |
|
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
97 extern void initDlg(); |
|
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
98 extern void initEvt(); |
| 3341 | 99 extern void initFm(); |
| 3053 | 100 extern void initList(); |
|
2233
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
101 extern void initMenu(); |
| 2323 | 102 extern void initQd(); |
| 2225 | 103 extern void initRes(); |
|
2233
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
104 extern void initSnd(); |
| 3517 | 105 extern void initScrap(); |
| 106 extern void initTE(); | |
|
2233
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
107 extern void initWin(); |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
108 #endif |
|
4054
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
109 #ifdef USE_QT |
|
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
110 extern void initCm(); |
|
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
111 extern void initQt(); |
|
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
112 #endif |
| 1495 | 113 |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
114 #ifdef USE_IMG |
|
2718
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
115 extern void initimgcolormap(); |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
116 extern void initimgformat(); |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
117 extern void initimggif(); |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
118 extern void initimgjpeg(); |
|
3216
d00a79ebb027
Added missing imgpbm and imgsgi modules
Jack Jansen <jack.jansen@cwi.nl>
parents:
3053
diff
changeset
|
119 extern void initimgpbm(); |
|
2718
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
120 extern void initimgppm(); |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
121 extern void initimgpgm(); |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
122 extern void initimgtiff(); |
|
3216
d00a79ebb027
Added missing imgpbm and imgsgi modules
Jack Jansen <jack.jansen@cwi.nl>
parents:
3053
diff
changeset
|
123 extern void initimgsgi(); |
|
2718
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
124 extern void initimgop(); |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
125 #endif |
|
3250
ed0d148fc05c
Added _tkinter, if USE_TK defined
Jack Jansen <jack.jansen@cwi.nl>
parents:
3216
diff
changeset
|
126 #ifdef USE_TK |
|
ed0d148fc05c
Added _tkinter, if USE_TK defined
Jack Jansen <jack.jansen@cwi.nl>
parents:
3216
diff
changeset
|
127 extern void init_tkinter(); |
|
ed0d148fc05c
Added _tkinter, if USE_TK defined
Jack Jansen <jack.jansen@cwi.nl>
parents:
3216
diff
changeset
|
128 #endif |
| 3394 | 129 #ifdef USE_GUSI |
| 130 extern void initsocket(); | |
| 131 extern void initselect(); | |
| 132 #endif | |
| 3566 | 133 #ifdef USE_WASTE |
| 134 extern void initwaste(); | |
| 135 #endif | |
| 1495 | 136 /* -- ADDMODULE MARKER 1 -- */ |
| 137 | |
|
2986
7d268342dc3a
Lots of stuff removed: gone to various other files.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2940
diff
changeset
|
138 extern void PyMarshal_Init(); |
|
2380
c8a83218ba61
added imp; forget ctb and math for __SC__ (for now)
Guido van Rossum <guido@python.org>
parents:
2337
diff
changeset
|
139 extern void initimp(); |
| 1495 | 140 |
|
3749
11e03d7a7298
inittab is a "struct _inittab".
Jack Jansen <jack.jansen@cwi.nl>
parents:
3566
diff
changeset
|
141 struct _inittab inittab[] = { |
| 1495 | 142 |
| 143 {"array", initarray}, | |
|
2794
823f3a8ecfe4
Initial port to CodeWarrior CFM68K support (mainly by disabling
Jack Jansen <jack.jansen@cwi.nl>
parents:
2746
diff
changeset
|
144 #ifndef SYMANTEC__CFM68K__ |
|
2419
4a462aacc1e9
changed ifdefs and comments -- more modules are good
Guido van Rossum <guido@python.org>
parents:
2404
diff
changeset
|
145 /* The math library seems mostly broken... */ |
| 1495 | 146 {"math", initmath}, |
|
2380
c8a83218ba61
added imp; forget ctb and math for __SC__ (for now)
Guido van Rossum <guido@python.org>
parents:
2337
diff
changeset
|
147 #endif |
| 3372 | 148 #ifndef WITHOUT_COMPLEX |
| 149 {"cmath", initcmath}, | |
| 150 #endif | |
| 1495 | 151 {"parser", initparser}, |
| 152 {"mac", initmac}, | |
|
1916
e125f5021e67
config.c: add MacOS module
Guido van Rossum <guido@python.org>
parents:
1822
diff
changeset
|
153 {"MacOS", MacOS_Init}, |
| 1495 | 154 {"regex", initregex}, |
| 155 {"strop", initstrop}, | |
| 156 {"struct", initstruct}, | |
| 157 {"time", inittime}, | |
| 158 {"audioop", initaudioop}, | |
| 159 {"imageop", initimageop}, | |
| 160 {"rgbimg", initrgbimg}, | |
| 1808 | 161 #ifdef USE_STDWIN |
| 162 {"stdwin", initstdwin}, | |
| 163 #endif | |
| 1495 | 164 {"md5", initmd5}, |
| 165 {"rotor", initrotor}, | |
|
1795
fa8bbd09f2e6
Updates for THINK C 6.0. Moved the necessary UNIX emulation routines here.
Guido van Rossum <guido@python.org>
parents:
1676
diff
changeset
|
166 {"new", initnew}, |
| 1808 | 167 {"gestalt", initgestalt}, |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
168 {"macfs", initmacfs}, |
| 2912 | 169 {"binascii", initbinascii}, |
|
2185
9c8b4323808b
ported Jacks changes back to think C
Guido van Rossum <guido@python.org>
parents:
2091
diff
changeset
|
170 #ifdef THINK_C |
|
2419
4a462aacc1e9
changed ifdefs and comments -- more modules are good
Guido van Rossum <guido@python.org>
parents:
2404
diff
changeset
|
171 /* This is an interface to the Think runtime */ |
|
2030
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
172 {"macconsole", initmacconsole}, |
|
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
173 #endif |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
174 #ifdef USE_MACCTB |
|
2030
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
175 {"ctb", initctb}, |
|
2380
c8a83218ba61
added imp; forget ctb and math for __SC__ (for now)
Guido van Rossum <guido@python.org>
parents:
2337
diff
changeset
|
176 #endif |
|
2419
4a462aacc1e9
changed ifdefs and comments -- more modules are good
Guido van Rossum <guido@python.org>
parents:
2404
diff
changeset
|
177 /* This could probably be made to work on other compilers... */ |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
178 #ifdef USE_MACSPEECH |
|
2030
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
179 {"macspeech", initmacspeech}, |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
180 #endif |
|
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
181 #ifdef USE_MACTCP |
|
2030
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
182 {"macdnr", initmacdnr}, |
|
671cf1f8b0c3
- PYTHONPATH is now \n-separated, so you can have directories with
Jack Jansen <jack.jansen@cwi.nl>
parents:
1916
diff
changeset
|
183 {"mactcp", initmactcp}, |
|
2185
9c8b4323808b
ported Jacks changes back to think C
Guido van Rossum <guido@python.org>
parents:
2091
diff
changeset
|
184 #endif |
|
4054
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
185 #ifdef USE_TOOLBOX |
|
2185
9c8b4323808b
ported Jacks changes back to think C
Guido van Rossum <guido@python.org>
parents:
2091
diff
changeset
|
186 {"AE", initAE}, |
|
2233
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
187 {"Ctl", initCtl}, |
|
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
188 {"Dlg", initDlg}, |
|
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
189 {"Evt", initEvt}, |
| 3341 | 190 {"Fm", initFm}, |
|
2233
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
191 {"Menu", initMenu}, |
| 3053 | 192 {"List", initList}, |
| 2323 | 193 {"Qd", initQd}, |
|
2233
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
194 {"Snd", initSnd}, |
| 3517 | 195 {"Scrap", initScrap}, |
| 196 {"TE", initTE}, | |
|
2233
01037532c086
split PATH over multiple lines for clarity;
Guido van Rossum <guido@python.org>
parents:
2225
diff
changeset
|
197 {"Win", initWin}, |
|
2380
c8a83218ba61
added imp; forget ctb and math for __SC__ (for now)
Guido van Rossum <guido@python.org>
parents:
2337
diff
changeset
|
198 {"Res", initRes}, |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
199 #endif |
|
4054
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
200 #ifdef USE_QT |
|
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
201 {"Cm", initCm}, |
|
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
202 {"Qt", initQt}, |
|
669ccd9e717e
- Renamed USE_BGEN to USE_TOOLBOX
Jack Jansen <jack.jansen@cwi.nl>
parents:
3749
diff
changeset
|
203 #endif |
|
2728
c267e3312030
Added USE_* ifdefs for a couple of optional modules.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2718
diff
changeset
|
204 #ifdef USE_IMG |
|
2718
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
205 {"imgcolormap", initimgcolormap}, |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
206 {"imgformat", initimgformat}, |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
207 {"imggif", initimggif}, |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
208 {"imgjpeg", initimgjpeg}, |
|
3216
d00a79ebb027
Added missing imgpbm and imgsgi modules
Jack Jansen <jack.jansen@cwi.nl>
parents:
3053
diff
changeset
|
209 {"imgpbm", initimgpbm}, |
|
2718
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
210 {"imgppm", initimgppm}, |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
211 {"imgpgm", initimgpgm}, |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
212 {"imgtiff", initimgtiff}, |
|
3216
d00a79ebb027
Added missing imgpbm and imgsgi modules
Jack Jansen <jack.jansen@cwi.nl>
parents:
3053
diff
changeset
|
213 {"imgsgi", initimgsgi}, |
|
2718
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
214 {"imgop", initimgop}, |
|
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
215 #endif |
|
3250
ed0d148fc05c
Added _tkinter, if USE_TK defined
Jack Jansen <jack.jansen@cwi.nl>
parents:
3216
diff
changeset
|
216 #ifdef USE_TK |
|
ed0d148fc05c
Added _tkinter, if USE_TK defined
Jack Jansen <jack.jansen@cwi.nl>
parents:
3216
diff
changeset
|
217 {"_tkinter", init_tkinter}, |
|
ed0d148fc05c
Added _tkinter, if USE_TK defined
Jack Jansen <jack.jansen@cwi.nl>
parents:
3216
diff
changeset
|
218 #endif |
| 3394 | 219 #ifdef USE_GUSI |
| 220 {"socket", initsocket}, | |
| 221 {"select", initselect}, | |
| 222 #endif | |
| 3566 | 223 #ifdef USE_WASTE |
| 224 {"waste", initwaste}, | |
| 225 #endif | |
|
2718
889c6da7b4ca
Added img stuff (within #ifdef, so they're easy to remove)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2430
diff
changeset
|
226 |
| 1495 | 227 /* -- ADDMODULE MARKER 2 -- */ |
| 228 | |
| 229 /* This module "lives in" with marshal.c */ | |
|
2986
7d268342dc3a
Lots of stuff removed: gone to various other files.
Jack Jansen <jack.jansen@cwi.nl>
parents:
2940
diff
changeset
|
230 {"marshal", PyMarshal_Init}, |
|
2380
c8a83218ba61
added imp; forget ctb and math for __SC__ (for now)
Guido van Rossum <guido@python.org>
parents:
2337
diff
changeset
|
231 |
|
c8a83218ba61
added imp; forget ctb and math for __SC__ (for now)
Guido van Rossum <guido@python.org>
parents:
2337
diff
changeset
|
232 /* This module "lives in" with import.c */ |
|
c8a83218ba61
added imp; forget ctb and math for __SC__ (for now)
Guido van Rossum <guido@python.org>
parents:
2337
diff
changeset
|
233 {"imp", initimp}, |
| 1495 | 234 |
| 235 /* These entries are here for sys.builtin_module_names */ | |
| 236 {"__main__", NULL}, | |
| 237 {"__builtin__", NULL}, | |
| 238 {"sys", NULL}, | |
| 239 | |
| 240 /* Sentinel */ | |
| 241 {0, 0} | |
| 242 }; | |
|
3288
288e337f73e7
Added component mgr and quicktime modules
Jack Jansen <jack.jansen@cwi.nl>
parents:
3250
diff
changeset
|
243 |
