ยปCore Development>Code coverage>PC/os2emx/config.c

Python code coverage for PC/os2emx/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 contains the table of built-in modules.
35n/a See init_builtin() in import.c. */
36n/a
37n/a#include "Python.h"
38n/a
39n/aextern void initos2();
40n/aextern void initsignal();
41n/a#ifdef WITH_THREAD
42n/aextern void init_thread();
43n/a#endif
44n/aextern void init_codecs();
45n/aextern void init_csv();
46n/aextern void init_locale();
47n/aextern void init_random();
48n/aextern void init_sre();
49n/aextern void init_symtable();
50n/aextern void init_weakref();
51n/aextern void initarray();
52n/aextern void initbinascii();
53n/aextern void initcollections();
54n/aextern void initcmath();
55n/aextern void initdatetime();
56n/aextern void initdl();
57n/aextern void initerrno();
58n/aextern void initfcntl();
59n/aextern void init_functools();
60n/aextern void init_heapq();
61n/aextern void initimageop();
62n/aextern void inititertools();
63n/aextern void initmath();
64n/aextern void init_md5();
65n/aextern void initoperator();
66n/aextern void init_sha();
67n/aextern void init_sha256();
68n/aextern void init_sha512();
69n/aextern void init_struct();
70n/aextern void inittermios();
71n/aextern void inittime();
72n/aextern void initxxsubtype();
73n/aextern void initzipimport();
74n/a#if !HAVE_DYNAMIC_LOADING
75n/aextern void init_curses();
76n/aextern void init_curses_panel();
77n/aextern void init_testcapi();
78n/aextern void initbz2();
79n/aextern void initfpectl();
80n/aextern void initfpetest();
81n/aextern void initparser();
82n/aextern void initpwd();
83n/aextern void initunicodedata();
84n/aextern void initzlib();
85n/a#ifdef USE_SOCKET
86n/aextern void init_socket();
87n/aextern void initselect();
88n/a#endif
89n/a#endif
90n/a/* -- ADDMODULE MARKER 1 -- */
91n/a
92n/aextern void PyMarshal_Init();
93n/aextern void initimp();
94n/aextern void initgc();
95n/a
96n/astruct _inittab _PyImport_Inittab[] = {
97n/a
98n/a {"os2", initos2},
99n/a {"signal", initsignal},
100n/a#ifdef WITH_THREAD
101n/a {"_thread", init_thread},
102n/a#endif
103n/a {"_codecs", init_codecs},
104n/a {"_csv", init_csv},
105n/a {"_locale", init_locale},
106n/a {"_random", init_random},
107n/a {"_sre", init_sre},
108n/a {"_symtable", init_symtable},
109n/a {"_weakref", init_weakref},
110n/a {"array", initarray},
111n/a {"binascii", initbinascii},
112n/a {"collections", initcollections},
113n/a {"cmath", initcmath},
114n/a {"datetime", initdatetime},
115n/a {"dl", initdl},
116n/a {"errno", initerrno},
117n/a {"fcntl", initfcntl},
118n/a {"_functools", init_functools},
119n/a {"_heapq", init_heapq},
120n/a {"imageop", initimageop},
121n/a {"itertools", inititertools},
122n/a {"math", initmath},
123n/a {"operator", initoperator},
124n/a {"_sha256", init_sha256},
125n/a {"_sha512", init_sha512},
126n/a {"_struct", init_struct},
127n/a {"termios", inittermios},
128n/a {"time", inittime},
129n/a {"xxsubtype", initxxsubtype},
130n/a {"zipimport", initzipimport},
131n/a#if !HAVE_DYNAMIC_LOADING
132n/a {"_curses", init_curses},
133n/a {"_curses_panel", init_curses_panel},
134n/a {"_testcapi", init_testcapi},
135n/a {"bz2", initbz2},
136n/a {"fpectl", initfpectl},
137n/a {"fpetest", initfpetest},
138n/a {"parser", initparser},
139n/a {"pwd", initpwd},
140n/a {"unicodedata", initunicodedata},
141n/a {"zlib", initzlib},
142n/a#ifdef USE_SOCKET
143n/a {"_socket", init_socket},
144n/a {"select", initselect},
145n/a#endif
146n/a#endif
147n/a/* -- ADDMODULE MARKER 2 -- */
148n/a
149n/a /* This module "lives in" with marshal.c */
150n/a {"marshal", PyMarshal_Init},
151n/a
152n/a /* This lives it with import.c */
153n/a {"_imp", initimp},
154n/a
155n/a /* These entries are here for sys.builtin_module_names */
156n/a {"builtins", NULL},
157n/a {"sys", NULL},
158n/a
159n/a /* This lives in gcmodule.c */
160n/a {"gc", initgc},
161n/a
162n/a /* Sentinel */
163n/a {0, 0}
164n/a};