From: Jack Jansen Date: Fri, 25 Aug 2000 22:03:34 +0000 (+0000) Subject: - Added pyexpat. X-Git-Tag: v2.0b1~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cdb34837442a8bd8133d1db57e88e0df3d2545d0;p=python - Added pyexpat. - Renamed socket to _socket. --- diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c index c53ff4309e..9075055964 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 @@ -275,6 +278,9 @@ struct _inittab _PyImport_Inittab[] = { #endif #ifdef WITH_THREAD {"thread", initthread}, +#endif +#ifdef USE_PYEXPAT + {"pyexpat", initpyexpat}, #endif {"cPickle", initcPickle}, {"cStringIO", initcStringIO},