1994-08-01 13:34:53 +02:00
|
|
|
/* -*- C -*- ***********************************************
|
2000-07-01 01:50:40 +02:00
|
|
|
Copyright (c) 2000, BeOpen.com.
|
|
|
|
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
|
|
|
|
Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
See the file "Misc/COPYRIGHT" for information on usage and
|
|
|
|
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
1991-02-19 13:39:46 +01:00
|
|
|
******************************************************************/
|
|
|
|
|
1995-08-04 06:20:45 +02:00
|
|
|
/* Module configuration */
|
1990-12-21 00:03:58 +01:00
|
|
|
|
1995-08-04 06:20:45 +02:00
|
|
|
/* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
|
1993-01-26 14:33:44 +01:00
|
|
|
|
1995-08-04 06:20:45 +02:00
|
|
|
/* This file contains the table of built-in modules.
|
|
|
|
See init_builtin() in import.c. */
|
1994-08-23 15:48:30 +02:00
|
|
|
|
1995-08-04 06:20:45 +02:00
|
|
|
#include "Python.h"
|
1992-09-03 22:49:55 +02:00
|
|
|
|
1991-02-19 13:22:24 +01:00
|
|
|
|
1994-08-01 13:34:53 +02:00
|
|
|
/* -- ADDMODULE MARKER 1 -- */
|
1991-06-04 21:47:46 +02:00
|
|
|
|
2000-07-23 02:02:15 +02:00
|
|
|
extern void PyMarshal_Init(void);
|
|
|
|
extern void initimp(void);
|
1991-02-19 13:22:24 +01:00
|
|
|
|
1997-04-29 22:31:59 +02:00
|
|
|
struct _inittab _PyImport_Inittab[] = {
|
1991-02-19 13:22:24 +01:00
|
|
|
|
1994-08-01 13:34:53 +02:00
|
|
|
/* -- ADDMODULE MARKER 2 -- */
|
1993-10-11 13:54:31 +01:00
|
|
|
|
2000-11-30 02:57:18 +01:00
|
|
|
/* This module lives in marshal.c */
|
1995-08-04 06:20:45 +02:00
|
|
|
{"marshal", PyMarshal_Init},
|
1993-11-10 13:53:24 +01:00
|
|
|
|
2000-11-30 02:57:18 +01:00
|
|
|
/* This lives in import.c */
|
1995-01-02 20:30:30 +01:00
|
|
|
{"imp", initimp},
|
|
|
|
|
1994-08-01 13:34:53 +02:00
|
|
|
/* These entries are here for sys.builtin_module_names */
|
|
|
|
{"__main__", NULL},
|
|
|
|
{"__builtin__", NULL},
|
|
|
|
{"sys", NULL},
|
2001-01-23 22:46:57 +01:00
|
|
|
{"exceptions", init_exceptions},
|
1992-09-25 23:54:05 +02:00
|
|
|
|
1994-08-01 13:34:53 +02:00
|
|
|
/* Sentinel */
|
|
|
|
{0, 0}
|
1991-02-19 13:22:24 +01:00
|
|
|
};
|