1994-08-01 11:34:53 +00:00
|
|
|
/* -*- C -*- ***********************************************
|
1995-03-14 15:04:19 +00:00
|
|
|
Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
|
1995-01-04 19:10:35 +00:00
|
|
|
The Netherlands.
|
1991-02-19 12:39:46 +00:00
|
|
|
|
|
|
|
All Rights Reserved
|
|
|
|
|
1995-01-04 19:10:35 +00:00
|
|
|
Permission to use, copy, modify, and distribute this software and its
|
|
|
|
documentation for any purpose and without fee is hereby granted,
|
1991-02-19 12:39:46 +00:00
|
|
|
provided that the above copyright notice appear in all copies and that
|
1995-01-04 19:10:35 +00:00
|
|
|
both that copyright notice and this permission notice appear in
|
1991-02-19 12:39:46 +00:00
|
|
|
supporting documentation, and that the names of Stichting Mathematisch
|
|
|
|
Centrum or CWI not be used in advertising or publicity pertaining to
|
|
|
|
distribution of the software without specific, written prior permission.
|
|
|
|
|
|
|
|
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
|
|
|
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
|
|
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
|
|
|
|
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
|
|
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
|
|
|
******************************************************************/
|
|
|
|
|
1995-08-04 04:20:45 +00:00
|
|
|
/* Module configuration */
|
1990-12-20 23:03:58 +00:00
|
|
|
|
1995-08-04 04:20:45 +00:00
|
|
|
/* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
|
1993-01-26 13:33:44 +00:00
|
|
|
|
1995-08-04 04:20:45 +00:00
|
|
|
/* This file contains the table of built-in modules.
|
|
|
|
See init_builtin() in import.c. */
|
1994-08-23 13:48:30 +00:00
|
|
|
|
1995-08-04 04:20:45 +00:00
|
|
|
#include "Python.h"
|
1992-09-03 20:49:55 +00:00
|
|
|
|
1991-02-19 12:22:24 +00:00
|
|
|
|
1994-08-01 11:34:53 +00:00
|
|
|
/* -- ADDMODULE MARKER 1 -- */
|
1991-06-04 19:47:46 +00:00
|
|
|
|
1995-08-04 04:20:45 +00:00
|
|
|
extern void PyMarshal_Init();
|
1995-01-02 19:30:30 +00:00
|
|
|
extern void initimp();
|
1991-02-19 12:22:24 +00:00
|
|
|
|
|
|
|
struct {
|
|
|
|
char *name;
|
|
|
|
void (*initfunc)();
|
|
|
|
} inittab[] = {
|
|
|
|
|
1994-08-01 11:34:53 +00:00
|
|
|
/* -- ADDMODULE MARKER 2 -- */
|
1993-10-11 12:54:31 +00:00
|
|
|
|
1994-08-01 11:34:53 +00:00
|
|
|
/* This module "lives in" with marshal.c */
|
1995-08-04 04:20:45 +00:00
|
|
|
{"marshal", PyMarshal_Init},
|
1993-11-10 12:53:24 +00:00
|
|
|
|
1995-01-02 19:30:30 +00:00
|
|
|
/* This lives it with import.c */
|
|
|
|
{"imp", initimp},
|
|
|
|
|
1994-08-01 11:34:53 +00:00
|
|
|
/* These entries are here for sys.builtin_module_names */
|
|
|
|
{"__main__", NULL},
|
|
|
|
{"__builtin__", NULL},
|
|
|
|
{"sys", NULL},
|
1992-09-25 21:54:05 +00:00
|
|
|
|
1994-08-01 11:34:53 +00:00
|
|
|
/* Sentinel */
|
|
|
|
{0, 0}
|
1991-02-19 12:22:24 +00:00
|
|
|
};
|