diff options
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 75e056f..03f6e3c 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} |