| 1 | n/a | /* -*- C -*- *********************************************** |
|---|
| 2 | n/a | Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, |
|---|
| 3 | n/a | The Netherlands. |
|---|
| 4 | n/a | |
|---|
| 5 | n/a | All Rights Reserved |
|---|
| 6 | n/a | |
|---|
| 7 | n/a | Permission to use, copy, modify, and distribute this software and its |
|---|
| 8 | n/a | documentation for any purpose and without fee is hereby granted, |
|---|
| 9 | n/a | provided that the above copyright notice appear in all copies and that |
|---|
| 10 | n/a | both that copyright notice and this permission notice appear in |
|---|
| 11 | n/a | supporting documentation, and that the names of Stichting Mathematisch |
|---|
| 12 | n/a | Centrum or CWI or Corporation for National Research Initiatives or |
|---|
| 13 | n/a | CNRI not be used in advertising or publicity pertaining to |
|---|
| 14 | n/a | distribution of the software without specific, written prior |
|---|
| 15 | n/a | permission. |
|---|
| 16 | n/a | |
|---|
| 17 | n/a | While CWI is the initial source for this software, a modified version |
|---|
| 18 | n/a | is made available by the Corporation for National Research Initiatives |
|---|
| 19 | n/a | (CNRI) at the Internet address ftp://ftp.python.org. |
|---|
| 20 | n/a | |
|---|
| 21 | n/a | STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH |
|---|
| 22 | n/a | REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF |
|---|
| 23 | n/a | MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH |
|---|
| 24 | n/a | CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL |
|---|
| 25 | n/a | DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
|---|
| 26 | n/a | PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|---|
| 27 | n/a | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|---|
| 28 | n/a | PERFORMANCE OF THIS SOFTWARE. |
|---|
| 29 | n/a | |
|---|
| 30 | n/a | ******************************************************************/ |
|---|
| 31 | n/a | |
|---|
| 32 | n/a | /* Module configuration */ |
|---|
| 33 | n/a | |
|---|
| 34 | n/a | /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */ |
|---|
| 35 | n/a | |
|---|
| 36 | n/a | /* This file contains the table of built-in modules. |
|---|
| 37 | n/a | See init_builtin() in import.c. */ |
|---|
| 38 | n/a | |
|---|
| 39 | n/a | #include "Python.h" |
|---|
| 40 | n/a | |
|---|
| 41 | n/a | |
|---|
| 42 | n/a | /* -- ADDMODULE MARKER 1 -- */ |
|---|
| 43 | n/a | |
|---|
| 44 | n/a | extern void PyMarshal_Init(void); |
|---|
| 45 | n/a | extern void initimp(void); |
|---|
| 46 | n/a | extern void initgc(void); |
|---|
| 47 | n/a | extern void initriscos(void); |
|---|
| 48 | n/a | extern void initswi(void); |
|---|
| 49 | n/a | |
|---|
| 50 | n/a | struct _inittab _PyImport_Inittab[] = { |
|---|
| 51 | n/a | |
|---|
| 52 | n/a | {"riscos", initriscos}, |
|---|
| 53 | n/a | |
|---|
| 54 | n/a | /* -- ADDMODULE MARKER 2 -- */ |
|---|
| 55 | n/a | |
|---|
| 56 | n/a | /* This module "lives in" with marshal.c */ |
|---|
| 57 | n/a | {"marshal", PyMarshal_Init}, |
|---|
| 58 | n/a | |
|---|
| 59 | n/a | /* This lives it with import.c */ |
|---|
| 60 | n/a | {"imp", initimp}, |
|---|
| 61 | n/a | |
|---|
| 62 | n/a | /* These entries are here for sys.builtin_module_names */ |
|---|
| 63 | n/a | {"__main__", NULL}, |
|---|
| 64 | n/a | {"__builtin__", NULL}, |
|---|
| 65 | n/a | {"sys", NULL}, |
|---|
| 66 | n/a | {"exceptions", NULL}, |
|---|
| 67 | n/a | |
|---|
| 68 | n/a | /* This lives in gcmodule.c */ |
|---|
| 69 | n/a | {"gc", initgc}, |
|---|
| 70 | n/a | |
|---|
| 71 | n/a | /* Sentinel */ |
|---|
| 72 | n/a | {0, 0} |
|---|
| 73 | n/a | }; |
|---|