home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Programming / Python2 / Python20_source / Modules / config.c.in < prev    next >
Encoding:
Text File  |  2000-10-25  |  1.1 KB  |  45 lines

  1. /* -*- C -*- ***********************************************
  2. Copyright (c) 2000, BeOpen.com.
  3. Copyright (c) 1995-2000, Corporation for National Research Initiatives.
  4. Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
  5. All rights reserved.
  6.  
  7. See the file "Misc/COPYRIGHT" for information on usage and
  8. redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  9. ******************************************************************/
  10.  
  11. /* Module configuration */
  12.  
  13. /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
  14.  
  15. /* This file contains the table of built-in modules.
  16.    See init_builtin() in import.c. */
  17.  
  18. #include "Python.h"
  19.  
  20.  
  21. /* -- ADDMODULE MARKER 1 -- */
  22.  
  23. extern void PyMarshal_Init(void);
  24. extern void initimp(void);
  25.  
  26. struct _inittab _PyImport_Inittab[] = {
  27.  
  28. /* -- ADDMODULE MARKER 2 -- */
  29.  
  30.     /* This module "lives in" with marshal.c */
  31.     {"marshal", PyMarshal_Init},
  32.  
  33.     /* This lives it with import.c */
  34.     {"imp", initimp},
  35.  
  36.     /* These entries are here for sys.builtin_module_names */
  37.     {"__main__", NULL},
  38.     {"__builtin__", NULL},
  39.     {"sys", NULL},
  40.     {"exceptions", NULL},
  41.  
  42.     /* Sentinel */
  43.     {0, 0}
  44. };
  45.