1994-08-01 08:34:53 -03:00
|
|
|
/* -*- C -*- ***********************************************
|
1995-03-14 11:04:19 -04:00
|
|
|
Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
|
1995-01-04 15:10:35 -04:00
|
|
|
The Netherlands.
|
1991-02-19 08:39:46 -04:00
|
|
|
|
|
|
|
All Rights Reserved
|
|
|
|
|
1995-01-04 15:10:35 -04: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 08:39:46 -04:00
|
|
|
provided that the above copyright notice appear in all copies and that
|
1995-01-04 15:10:35 -04:00
|
|
|
both that copyright notice and this permission notice appear in
|
1991-02-19 08:39:46 -04: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 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
|
|
|
|
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
|
|
|
|
1995-08-04 01:20:45 -03:00
|
|
|
extern void PyMarshal_Init();
|
1995-01-02 15:30:30 -04:00
|
|
|
extern void initimp();
|
1991-02-19 08:22:24 -04:00
|
|
|
|
|
|
|
struct {
|
|
|
|
char *name;
|
|
|
|
void (*initfunc)();
|
|
|
|
} inittab[] = {
|
|
|
|
|
1994-08-01 08:34:53 -03:00
|
|
|
/* -- ADDMODULE MARKER 2 -- */
|
1993-10-11 09:54:31 -03:00
|
|
|
|
1994-08-01 08:34:53 -03:00
|
|
|
/* This module "lives in" with marshal.c */
|
1995-08-04 01:20:45 -03:00
|
|
|
{"marshal", PyMarshal_Init},
|
1993-11-10 08:53:24 -04:00
|
|
|
|
1995-01-02 15:30:30 -04:00
|
|
|
/* This lives it with import.c */
|
|
|
|
{"imp", initimp},
|
|
|
|
|
1994-08-01 08:34:53 -03:00
|
|
|
/* These entries are here for sys.builtin_module_names */
|
|
|
|
{"__main__", NULL},
|
|
|
|
{"__builtin__", NULL},
|
|
|
|
{"sys", NULL},
|
1992-09-25 18:54:05 -03:00
|
|
|
|
1994-08-01 08:34:53 -03:00
|
|
|
/* Sentinel */
|
|
|
|
{0, 0}
|
1991-02-19 08:22:24 -04:00
|
|
|
};
|