mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
SF patch #474590 -- RISC OS support
This commit is contained in:
parent
622cc03f0b
commit
e877f8ba33
12 changed files with 142 additions and 74 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue