From cdb34837442a8bd8133d1db57e88e0df3d2545d0 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 25 Aug 2000 22:03:34 +0000 Subject: [PATCH] - Added pyexpat. - Renamed socket to _socket. --- Mac/Modules/macconfig.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c index c53ff4309ef..9075055964e 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},