home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / python / pytexdoc / ext / source / !Python / Modules / c / config < prev    next >
Encoding:
Text File  |  1996-08-06  |  2.4 KB  |  84 lines

  1. /* -*- C -*- ***********************************************
  2. Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
  3. The Netherlands.
  4.  
  5.                         All Rights Reserved
  6.  
  7. Permission to use, copy, modify, and distribute this software and its
  8. documentation for any purpose and without fee is hereby granted,
  9. provided that the above copyright notice appear in all copies and that
  10. both that copyright notice and this permission notice appear in
  11. supporting documentation, and that the names of Stichting Mathematisch
  12. Centrum or CWI not be used in advertising or publicity pertaining to
  13. distribution of the software without specific, written prior permission.
  14.  
  15. STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
  16. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  17. FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
  18. FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  19. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  20. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
  21. OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  22.  
  23. ******************************************************************/
  24.  
  25. /* Module configuration */
  26.  
  27. /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
  28.  
  29. /* This file contains the table of built-in modules.
  30.    See init_builtin() in import.c. */
  31.  
  32. #include "Python.h"
  33.  
  34. #ifndef DLK
  35. extern void initarray();
  36. extern void inittime();
  37. extern void initregex();
  38. extern void initswi();
  39. extern void initmath();
  40. extern void initstruct();
  41. extern void initstrop();
  42. extern void initdrawf();
  43. extern void initswi();
  44. extern void initsocket();
  45. #endif
  46.  
  47. extern void initriscos();
  48.  
  49.  
  50. /* -- ADDMODULE MARKER 1 -- */
  51.  
  52. extern void PyMarshal_Init();
  53. extern void initimp();
  54.  
  55. struct _inittab inittab[] = {
  56. #ifndef DLK
  57.         {"array",initarray},
  58.         {"time",inittime},
  59.         {"regex",initregex},
  60.         {"math",initmath},
  61.         {"struct",initstruct},
  62.         {"strop",initstrop},
  63.         {"drawf",initdrawf},
  64.         {"swi",initswi},
  65.         {"socket",initsocket},
  66. #endif
  67.         {"riscos",initriscos},
  68. /* -- ADDMODULE MARKER 2 -- */
  69.  
  70.     /* This module "lives in" with marshal.c */
  71.     {"marshal", PyMarshal_Init},
  72.  
  73.     /* This lives it with import.c */
  74.     {"imp", initimp},
  75.  
  76.     /* These entries are here for sys.builtin_module_names */
  77.     {"__main__", NULL},
  78.     {"__builtin__", NULL},
  79.     {"sys", NULL},
  80.  
  81.     /* Sentinel */
  82.     {0, 0}
  83. };
  84.