diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-25 22:03:34 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-25 22:03:34 (GMT) |
commit | cdb34837442a8bd8133d1db57e88e0df3d2545d0 (patch) | |
tree | dea235c13525bc7fb47311493e9137f48c16025a /Mac/Modules/macconfig.c | |
parent | e4cd2f28c616ca95ba5a2995a0af5023870d5686 (diff) | |
download | cpython-cdb34837442a8bd8133d1db57e88e0df3d2545d0.zip cpython-cdb34837442a8bd8133d1db57e88e0df3d2545d0.tar.gz cpython-cdb34837442a8bd8133d1db57e88e0df3d2545d0.tar.bz2 |
- Added pyexpat.
- Renamed socket to _socket.
Diffstat (limited to 'Mac/Modules/macconfig.c')
-rw-r--r-- | Mac/Modules/macconfig.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c index c53ff43..9075055 100644 --- a/Mac/Modules/macconfig.c +++ b/Mac/Modules/macconfig.c @@ -49,7 +49,7 @@ extern void initpwd(); extern void initgrp(); extern void initcrypt(); extern void initselect(); -extern void initsocket(); +extern void init_socket(); extern void initaudioop(); extern void initimageop(); extern void initrgbimg(); @@ -141,7 +141,7 @@ extern void initimgop(); extern void init_tkinter(); #endif #ifdef USE_GUSI -extern void initsocket(); +extern void init_socket(); extern void initselect(); #endif #ifdef USE_WASTE @@ -156,6 +156,9 @@ extern void initzlib(); #ifdef WITH_THREAD extern void initthread(); #endif +#ifdef USE_PYEXPAT +extern void initpyexpat(); +#endif extern void initcPickle(); extern void initcStringIO(); @@ -261,7 +264,7 @@ struct _inittab _PyImport_Inittab[] = { {"_tkinter", init_tkinter}, #endif #ifdef USE_GUSI - {"socket", initsocket}, + {"_socket", init_socket}, {"select", initselect}, #endif #ifdef USE_WASTE @@ -276,6 +279,9 @@ struct _inittab _PyImport_Inittab[] = { #ifdef WITH_THREAD {"thread", initthread}, #endif +#ifdef USE_PYEXPAT + {"pyexpat", initpyexpat}, +#endif {"cPickle", initcPickle}, {"cStringIO", initcStringIO}, {"_locale", init_locale}, |