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

Python code coverage for PC/os2vacpp/config.c

#countcontent
1n/a/* -*- C -*- ***********************************************
2n/aCopyright (c) 2000, BeOpen.com.
3n/aCopyright (c) 1995-2000, Corporation for National Research Initiatives.
4n/aCopyright (c) 1990-1995, Stichting Mathematisch Centrum.
5n/aAll rights reserved.
6n/a
7n/aSee the file "Misc/COPYRIGHT" for information on usage and
8n/aredistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9n/a******************************************************************/
10n/a
11n/a/* Module configuration */
12n/a
13n/a/* This file contains the table of built-in modules.
14n/a See init_builtin() in import.c. */
15n/a
16n/a#include "Python.h"
17n/a
18n/aextern void initarray(void);
19n/aextern void initaudioop(void);
20n/aextern void initbinascii(void);
21n/aextern void initcmath(void);
22n/aextern void initerrno(void);
23n/aextern void initimageop(void);
24n/aextern void initmath(void);
25n/aextern void initmd5(void);
26n/aextern void initnt(void);
27n/aextern void initos2(void);
28n/aextern void initoperator(void);
29n/aextern void initposix(void);
30n/aextern void initrgbimg(void);
31n/aextern void initsignal(void);
32n/aextern void initselect(void);
33n/aextern void init_socket(void);
34n/aextern void initstruct(void);
35n/aextern void inittime(void);
36n/aextern void init_thread(void);
37n/aextern void initpcre(void);
38n/a#ifdef WIN32
39n/aextern void initmsvcrt(void);
40n/a#endif
41n/a
42n/a/* -- ADDMODULE MARKER 1 -- */
43n/a
44n/aextern void PyMarshal_Init(void);
45n/aextern void initimp(void);
46n/a
47n/astruct _inittab _PyImport_Inittab[] = {
48n/a
49n/a {"array", initarray},
50n/a#ifdef M_I386
51n/a {"audioop", initaudioop},
52n/a#endif
53n/a {"binascii", initbinascii},
54n/a {"cmath", initcmath},
55n/a {"errno", initerrno},
56n/a// {"imageop", initimageop},
57n/a {"math", initmath},
58n/a {"md5", initmd5},
59n/a#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__)
60n/a {"nt", initnt}, /* Use the NT os functions, not posix */
61n/a#else
62n/a#if defined(PYOS_OS2)
63n/a {"os2", initos2},
64n/a#else
65n/a {"posix", initposix},
66n/a#endif
67n/a#endif
68n/a {"operator", initoperator},
69n/a// {"rgbimg", initrgbimg},
70n/a {"signal", initsignal},
71n/a#ifdef USE_SOCKET
72n/a {"_socket", init_socket},
73n/a {"select", initselect},
74n/a#endif
75n/a {"struct", initstruct},
76n/a {"time", inittime},
77n/a#ifdef WITH_THREAD
78n/a {"_thread", init_thread},
79n/a#endif
80n/a {"pcre", initpcre},
81n/a#ifdef WIN32
82n/a {"msvcrt", initmsvcrt},
83n/a#endif
84n/a
85n/a/* -- ADDMODULE MARKER 2 -- */
86n/a
87n/a /* This module "lives in" with marshal.c */
88n/a {"marshal", PyMarshal_Init},
89n/a
90n/a /* This lives it with import.c */
91n/a {"_imp", initimp},
92n/a
93n/a /* These entries are here for sys.builtin_module_names */
94n/a {"builtins", NULL},
95n/a {"sys", NULL},
96n/a
97n/a /* Sentinel */
98n/a {0, 0}
99n/a};