home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_python.idb / usr / freeware / lib / python1.5 / config / config.c.z / config.c
Encoding:
C/C++ Source or Header  |  1999-04-16  |  4.1 KB  |  152 lines

  1. /* Generated automatically from ./config.c.in by makesetup. */
  2. /* -*- C -*- ***********************************************
  3. Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
  4. The Netherlands.
  5.  
  6.                         All Rights Reserved
  7.  
  8. Permission to use, copy, modify, and distribute this software and its
  9. documentation for any purpose and without fee is hereby granted,
  10. provided that the above copyright notice appear in all copies and that
  11. both that copyright notice and this permission notice appear in
  12. supporting documentation, and that the names of Stichting Mathematisch
  13. Centrum or CWI or Corporation for National Research Initiatives or
  14. CNRI not be used in advertising or publicity pertaining to
  15. distribution of the software without specific, written prior
  16. permission.
  17.  
  18. While CWI is the initial source for this software, a modified version
  19. is made available by the Corporation for National Research Initiatives
  20. (CNRI) at the Internet address ftp://ftp.python.org.
  21.  
  22. STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
  23. REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
  24. MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
  25. CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
  26. DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  27. PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  28. TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  29. PERFORMANCE OF THIS SOFTWARE.
  30.  
  31. ******************************************************************/
  32.  
  33. /* Module configuration */
  34.  
  35. /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
  36.  
  37. /* This file contains the table of built-in modules.
  38.    See init_builtin() in import.c. */
  39.  
  40. #include "Python.h"
  41.  
  42.  
  43. extern void initthread();
  44. extern void initgl();
  45. extern void initreadline();
  46. extern void initcrypt();
  47. extern void inittermios();
  48. extern void initresource();
  49. extern void initaudioop();
  50. extern void initimageop();
  51. extern void initrgbimg();
  52. extern void initfm();
  53. extern void initsgi();
  54. extern void inital();
  55. extern void initcl();
  56. extern void inittiming();
  57. extern void initsyslog();
  58. extern void initcurses();
  59. extern void initdbm();
  60. extern void initgdbm();
  61. extern void initregex();
  62. extern void initpcre();
  63. extern void initposix();
  64. extern void initsignal();
  65. extern void initarray();
  66. extern void initcmath();
  67. extern void initmath();
  68. extern void initstrop();
  69. extern void initstruct();
  70. extern void inittime();
  71. extern void initoperator();
  72. extern void initfcntl();
  73. extern void initpwd();
  74. extern void initgrp();
  75. extern void initselect();
  76. extern void initsocket();
  77. extern void initerrno();
  78. extern void initmd5();
  79. extern void initrotor();
  80. extern void initnew();
  81. extern void initbinascii();
  82. extern void initparser();
  83. extern void initcStringIO();
  84. extern void initcPickle();
  85.  
  86. /* -- ADDMODULE MARKER 1 -- */
  87.  
  88. extern void PyMarshal_Init();
  89. extern void initimp();
  90.  
  91. struct _inittab _PyImport_Inittab[] = {
  92.  
  93.     {"thread", initthread},
  94.     {"gl", initgl},
  95.     {"readline", initreadline},
  96.     {"crypt", initcrypt},
  97.     {"termios", inittermios},
  98.     {"resource", initresource},
  99.     {"audioop", initaudioop},
  100.     {"imageop", initimageop},
  101.     {"rgbimg", initrgbimg},
  102.     {"fm", initfm},
  103.     {"sgi", initsgi},
  104.     {"al", inital},
  105.     {"cl", initcl},
  106.     {"timing", inittiming},
  107.     {"syslog", initsyslog},
  108.     {"curses", initcurses},
  109.     {"dbm", initdbm},
  110.     {"gdbm", initgdbm},
  111.     {"regex", initregex},
  112.     {"pcre", initpcre},
  113.     {"posix", initposix},
  114.     {"signal", initsignal},
  115.     {"array", initarray},
  116.     {"cmath", initcmath},
  117.     {"math", initmath},
  118.     {"strop", initstrop},
  119.     {"struct", initstruct},
  120.     {"time", inittime},
  121.     {"operator", initoperator},
  122.     {"fcntl", initfcntl},
  123.     {"pwd", initpwd},
  124.     {"grp", initgrp},
  125.     {"select", initselect},
  126.     {"socket", initsocket},
  127.     {"errno", initerrno},
  128.     {"md5", initmd5},
  129.     {"rotor", initrotor},
  130.     {"new", initnew},
  131.     {"binascii", initbinascii},
  132.     {"parser", initparser},
  133.     {"cStringIO", initcStringIO},
  134.     {"cPickle", initcPickle},
  135.  
  136. /* -- ADDMODULE MARKER 2 -- */
  137.  
  138.     /* This module "lives in" with marshal.c */
  139.     {"marshal", PyMarshal_Init},
  140.  
  141.     /* This lives it with import.c */
  142.     {"imp", initimp},
  143.  
  144.     /* These entries are here for sys.builtin_module_names */
  145.     {"__main__", NULL},
  146.     {"__builtin__", NULL},
  147.     {"sys", NULL},
  148.  
  149.     /* Sentinel */
  150.     {0, 0}
  151. };
  152.