0
0
mirror of https://github.com/python/cpython.git synced 2024-11-27 23:47:29 +01:00
cpython/Modules/config.c.in

61 lines
1.3 KiB
C
Raw Normal View History

/* -*- 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
******************************************************************/
/* Module configuration */
1990-12-21 00:03:58 +01:00
/* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
/* This file contains the table of built-in modules.
See init_builtin() in import.c. */
#include "Python.h"
#ifdef __cplusplus
extern "C" {
#endif
/* -- ADDMODULE MARKER 1 -- */
1991-06-04 21:47:46 +02:00
extern void PyMarshal_Init(void);
extern void initimp(void);
2001-08-30 02:12:32 +02:00
extern void initgc(void);
extern void init_ast(void);
1997-04-29 22:31:59 +02:00
struct _inittab _PyImport_Inittab[] = {
/* -- ADDMODULE MARKER 2 -- */
2000-11-30 02:57:18 +01:00
/* This module lives in marshal.c */
{"marshal", PyMarshal_Init},
2000-11-30 02:57:18 +01:00
/* This lives in import.c */
{"imp", initimp},
/* This lives in Python/Python-ast.c */
{"_ast", init_ast},
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},
{"builtins", NULL},
{"sys", NULL},
2001-08-30 02:12:32 +02:00
/* This lives in gcmodule.c */
{"gc", initgc},
/* Sentinel */
{0, 0}
};
#ifdef __cplusplus
}
#endif