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

- Added pyexpat.

- Renamed socket to _socket.
üst e4cd2f28
...@@ -49,7 +49,7 @@ extern void initpwd(); ...@@ -49,7 +49,7 @@ extern void initpwd();
extern void initgrp(); extern void initgrp();
extern void initcrypt(); extern void initcrypt();
extern void initselect(); extern void initselect();
extern void initsocket(); extern void init_socket();
extern void initaudioop(); extern void initaudioop();
extern void initimageop(); extern void initimageop();
extern void initrgbimg(); extern void initrgbimg();
...@@ -141,7 +141,7 @@ extern void initimgop(); ...@@ -141,7 +141,7 @@ extern void initimgop();
extern void init_tkinter(); extern void init_tkinter();
#endif #endif
#ifdef USE_GUSI #ifdef USE_GUSI
extern void initsocket(); extern void init_socket();
extern void initselect(); extern void initselect();
#endif #endif
#ifdef USE_WASTE #ifdef USE_WASTE
...@@ -156,6 +156,9 @@ extern void initzlib(); ...@@ -156,6 +156,9 @@ extern void initzlib();
#ifdef WITH_THREAD #ifdef WITH_THREAD
extern void initthread(); extern void initthread();
#endif #endif
#ifdef USE_PYEXPAT
extern void initpyexpat();
#endif
extern void initcPickle(); extern void initcPickle();
extern void initcStringIO(); extern void initcStringIO();
...@@ -261,7 +264,7 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -261,7 +264,7 @@ struct _inittab _PyImport_Inittab[] = {
{"_tkinter", init_tkinter}, {"_tkinter", init_tkinter},
#endif #endif
#ifdef USE_GUSI #ifdef USE_GUSI
{"socket", initsocket}, {"_socket", init_socket},
{"select", initselect}, {"select", initselect},
#endif #endif
#ifdef USE_WASTE #ifdef USE_WASTE
...@@ -275,6 +278,9 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -275,6 +278,9 @@ struct _inittab _PyImport_Inittab[] = {
#endif #endif
#ifdef WITH_THREAD #ifdef WITH_THREAD
{"thread", initthread}, {"thread", initthread},
#endif
#ifdef USE_PYEXPAT
{"pyexpat", initpyexpat},
#endif #endif
{"cPickle", initcPickle}, {"cPickle", initcPickle},
{"cStringIO", initcStringIO}, {"cStringIO", initcStringIO},
......
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