]> granicus.if.org Git - python/commitdiff
- Added pyexpat.
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 25 Aug 2000 22:03:34 +0000 (22:03 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 25 Aug 2000 22:03:34 +0000 (22:03 +0000)
- Renamed socket to _socket.

Mac/Modules/macconfig.c

index c53ff4309efc29ec67001daf13e9c72d845d5f5d..9075055964e48b47434e23c24174982b31698461 100644 (file)
@@ -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},