Kaydet (Commit) 5681acbf authored tarafından Jack Jansen's avatar Jack Jansen

Added zipimport and _random module.

üst fb08b4c7
...@@ -167,6 +167,7 @@ extern void init_hotshot(); ...@@ -167,6 +167,7 @@ extern void init_hotshot();
extern void initpyexpat(); extern void initpyexpat();
#endif #endif
extern void initgc(); extern void initgc();
extern void init_random();
extern void initcPickle(); extern void initcPickle();
extern void initcStringIO(); extern void initcStringIO();
...@@ -175,6 +176,7 @@ extern void initsha(); ...@@ -175,6 +176,7 @@ extern void initsha();
extern void init_locale(); extern void init_locale();
extern void init_sre(); extern void init_sre();
extern void initxreadlines(); extern void initxreadlines();
extern void initzipimport();
/* -- ADDMODULE MARKER 1 -- */ /* -- ADDMODULE MARKER 1 -- */
extern void PyMarshal_Init(); extern void PyMarshal_Init();
...@@ -292,11 +294,13 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -292,11 +294,13 @@ struct _inittab _PyImport_Inittab[] = {
{"pyexpat", initpyexpat}, {"pyexpat", initpyexpat},
#endif #endif
{"gc", initgc}, {"gc", initgc},
{"_random", init_random},
{"cPickle", initcPickle}, {"cPickle", initcPickle},
{"cStringIO", initcStringIO}, {"cStringIO", initcStringIO},
{"_locale", init_locale}, {"_locale", init_locale},
{"_sre", init_sre}, {"_sre", init_sre},
{"xreadlines", initxreadlines}, {"xreadlines", initxreadlines},
{"zipimport", initzipimport},
/* -- ADDMODULE MARKER 2 -- */ /* -- ADDMODULE MARKER 2 -- */
/* This module "lives in" with marshal.c */ /* This module "lives in" with marshal.c */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment