0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Modules/config.c.in

49 lines
1.2 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"
/* -- 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);
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},
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},
{"__builtin__", NULL},
{"sys", NULL},
2001-08-02 06:15:00 +02:00
{"exceptions", NULL},
2001-08-30 02:12:32 +02:00
/* This lives in gcmodule.c */
{"gc", initgc},
/* Sentinel */
{0, 0}
};