ยปCore Development>Code coverage>RISCOS/Modules/config.c

Python code coverage for RISCOS/Modules/config.c

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