diff options
| author | Guido van Rossum <guido@python.org> | 2001-10-24 20:13:15 +0000 | 
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2001-10-24 20:13:15 +0000 | 
| commit | e877f8ba3306be0c76476c1f841d6f5388b675b7 (patch) | |
| tree | 58535b7aab583873d072c7f76849ccbc7141f852 /RISCOS/Modules/config.c | |
| parent | 622cc03f0b5ba8e8e51aaa73c137350fe81564a8 (diff) | |
| download | cpython-git-e877f8ba3306be0c76476c1f841d6f5388b675b7.tar.gz | |
SF patch #474590 -- RISC OS support
Diffstat (limited to 'RISCOS/Modules/config.c')
| -rw-r--r-- | RISCOS/Modules/config.c | 15 | 
1 files changed, 11 insertions, 4 deletions
diff --git a/RISCOS/Modules/config.c b/RISCOS/Modules/config.c index 75e056fd4d..03f6e3ce46 100644 --- a/RISCOS/Modules/config.c +++ b/RISCOS/Modules/config.c @@ -41,10 +41,11 @@ PERFORMANCE OF THIS SOFTWARE.  /* -- ADDMODULE MARKER 1 -- */ -extern void PyMarshal_Init(); -extern void initimp(); -extern void initriscos(); -extern void initswi(); +extern void PyMarshal_Init(void); +extern void initimp(void); +extern void initgc(void); +extern void initriscos(void); +extern void initswi(void);  struct _inittab _PyImport_Inittab[] = { @@ -62,6 +63,12 @@ struct _inittab _PyImport_Inittab[] = {  	{"__main__", NULL},  	{"__builtin__", NULL},  	{"sys", NULL}, +	{"exceptions", NULL}, + +#ifdef WITH_CYCLE_GC +	/* This lives in gcmodule.c */ +	{"gc", initgc}, +#endif  	/* Sentinel */  	{0, 0}  | 
