1994-08-01 08:34:53 -03:00
|
|
|
/* -*- C -*- ***********************************************
|
2000-06-30 20:50:40 -03: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 08:39:46 -04:00
|
|
|
******************************************************************/
|
|
|
|
|
1995-08-04 01:20:45 -03:00
|
|
|
/* Module configuration */
|
1990-12-20 19:03:58 -04:00
|
|
|
|
1995-08-04 01:20:45 -03:00
|
|
|
/* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
|
1993-01-26 09:33:44 -04:00
|
|
|
|
1995-08-04 01:20:45 -03:00
|
|
|
/* This file contains the table of built-in modules.
|
|
|
|
See init_builtin() in import.c. */
|
1994-08-23 10:48:30 -03:00
|
|
|
|
1995-08-04 01:20:45 -03:00
|
|
|
#include "Python.h"
|
1992-09-03 17:49:55 -03:00
|
|
|
|
2006-04-13 01:49:25 -03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
1991-02-19 08:22:24 -04:00
|
|
|
|
1994-08-01 08:34:53 -03:00
|
|
|
/* -- ADDMODULE MARKER 1 -- */
|
1991-06-04 16:47:46 -03:00
|
|
|
|
2000-07-22 21:02:15 -03:00
|
|
|
extern void PyMarshal_Init(void);
|
|
|
|
extern void initimp(void);
|
2001-08-29 21:12:32 -03:00
|
|
|
extern void initgc(void);
|
2006-02-27 11:23:19 -04:00
|
|
|
extern void init_ast(void);
|
2008-04-12 20:44:07 -03:00
|
|
|
extern void _PyWarnings_Init(void);
|
1991-02-19 08:22:24 -04:00
|
|
|
|
1997-04-29 17:31:59 -03:00
|
|
|
struct _inittab _PyImport_Inittab[] = {
|
1991-02-19 08:22:24 -04:00
|
|
|
|
1994-08-01 08:34:53 -03:00
|
|
|
/* -- ADDMODULE MARKER 2 -- */
|
1993-10-11 09:54:31 -03:00
|
|
|
|
2010-05-29 18:03:13 -03:00
|
|
|
/* This module lives in marshal.c */
|
|
|
|
{"marshal", PyMarshal_Init},
|
1993-11-10 08:53:24 -04:00
|
|
|
|
2010-05-29 18:03:13 -03:00
|
|
|
/* This lives in import.c */
|
|
|
|
{"imp", initimp},
|
1995-01-02 15:30:30 -04:00
|
|
|
|
2010-05-29 18:03:13 -03:00
|
|
|
/* This lives in Python/Python-ast.c */
|
|
|
|
{"_ast", init_ast},
|
2006-02-27 11:23:19 -04:00
|
|
|
|
2010-05-29 18:03:13 -03:00
|
|
|
/* These entries are here for sys.builtin_module_names */
|
|
|
|
{"__main__", NULL},
|
|
|
|
{"__builtin__", NULL},
|
|
|
|
{"sys", NULL},
|
|
|
|
{"exceptions", NULL},
|
1992-09-25 18:54:05 -03:00
|
|
|
|
2010-05-29 18:03:13 -03:00
|
|
|
/* This lives in gcmodule.c */
|
|
|
|
{"gc", initgc},
|
2001-08-29 21:12:32 -03:00
|
|
|
|
2010-05-29 18:03:13 -03:00
|
|
|
/* This lives in _warnings.c */
|
|
|
|
{"_warnings", _PyWarnings_Init},
|
2008-04-12 20:44:07 -03:00
|
|
|
|
2010-05-29 18:03:13 -03:00
|
|
|
/* Sentinel */
|
|
|
|
{0, 0}
|
1991-02-19 08:22:24 -04:00
|
|
|
};
|
2006-04-13 01:49:25 -03:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|