source: vendor/python/2.5/PC/os2emx/config.c

Last change on this file was 3225, checked in by bird, 18 years ago

Python 2.5

File size: 5.0 KB
Line 
1/* -*- C -*- ***********************************************
2Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
3The Netherlands.
4
5 All Rights Reserved
6
7Permission to use, copy, modify, and distribute this software and its
8documentation for any purpose and without fee is hereby granted,
9provided that the above copyright notice appear in all copies and that
10both that copyright notice and this permission notice appear in
11supporting documentation, and that the names of Stichting Mathematisch
12Centrum or CWI or Corporation for National Research Initiatives or
13CNRI not be used in advertising or publicity pertaining to
14distribution of the software without specific, written prior
15permission.
16
17While CWI is the initial source for this software, a modified version
18is made available by the Corporation for National Research Initiatives
19(CNRI) at the Internet address ftp://ftp.python.org.
20
21STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
22REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
23MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
24CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
25DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
26PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
27TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
28PERFORMANCE OF THIS SOFTWARE.
29
30******************************************************************/
31
32/* Module configuration */
33
34/* This file contains the table of built-in modules.
35 See init_builtin() in import.c. */
36
37#include "Python.h"
38
39extern void initos2();
40extern void initsignal();
41#ifdef WITH_THREAD
42extern void initthread();
43#endif
44extern void init_codecs();
45extern void init_csv();
46extern void init_locale();
47extern void init_random();
48extern void init_sre();
49extern void init_symtable();
50extern void init_weakref();
51extern void initarray();
52extern void initbinascii();
53extern void initcPickle();
54extern void initcStringIO();
55extern void initcollections();
56extern void initcmath();
57extern void initdatetime();
58extern void initdl();
59extern void initerrno();
60extern void initfcntl();
61extern void init_functools();
62extern void init_heapq();
63extern void initimageop();
64extern void inititertools();
65extern void initmath();
66extern void init_md5();
67extern void initoperator();
68extern void initrgbimg();
69extern void init_sha();
70extern void init_sha256();
71extern void init_sha512();
72extern void initstrop();
73extern void init_struct();
74extern void inittermios();
75extern void inittime();
76extern void inittiming();
77extern void initxxsubtype();
78extern void initzipimport();
79#if !HAVE_DYNAMIC_LOADING
80extern void init_curses();
81extern void init_curses_panel();
82extern void init_hotshot();
83extern void init_testcapi();
84extern void initbsddb185();
85extern void initbz2();
86extern void initfpectl();
87extern void initfpetest();
88extern void initparser();
89extern void initpwd();
90extern void initunicodedata();
91extern void initzlib();
92#ifdef USE_SOCKET
93extern void init_socket();
94extern void initselect();
95#endif
96#endif
97/* -- ADDMODULE MARKER 1 -- */
98
99extern void PyMarshal_Init();
100extern void initimp();
101extern void initgc();
102
103struct _inittab _PyImport_Inittab[] = {
104
105 {"os2", initos2},
106 {"signal", initsignal},
107#ifdef WITH_THREAD
108 {"thread", initthread},
109#endif
110 {"_codecs", init_codecs},
111 {"_csv", init_csv},
112 {"_locale", init_locale},
113 {"_random", init_random},
114 {"_sre", init_sre},
115 {"_symtable", init_symtable},
116 {"_weakref", init_weakref},
117 {"array", initarray},
118 {"binascii", initbinascii},
119 {"cPickle", initcPickle},
120 {"cStringIO", initcStringIO},
121 {"collections", initcollections},
122 {"cmath", initcmath},
123 {"datetime", initdatetime},
124 {"dl", initdl},
125 {"errno", initerrno},
126 {"fcntl", initfcntl},
127 {"_functools", init_functools},
128 {"_heapq", init_heapq},
129 {"imageop", initimageop},
130 {"itertools", inititertools},
131 {"math", initmath},
132 {"_md5", init_md5},
133 {"operator", initoperator},
134 {"rgbimg", initrgbimg},
135 {"_sha", init_sha},
136 {"_sha256", init_sha256},
137 {"_sha512", init_sha512},
138 {"strop", initstrop},
139 {"_struct", init_struct},
140 {"termios", inittermios},
141 {"time", inittime},
142 {"timing", inittiming},
143 {"xxsubtype", initxxsubtype},
144 {"zipimport", initzipimport},
145#if !HAVE_DYNAMIC_LOADING
146 {"_curses", init_curses},
147 {"_curses_panel", init_curses_panel},
148 {"_hotshot", init_hotshot},
149 {"_testcapi", init_testcapi},
150 {"bsddb185", initbsddb185},
151 {"bz2", initbz2},
152 {"fpectl", initfpectl},
153 {"fpetest", initfpetest},
154 {"parser", initparser},
155 {"pwd", initpwd},
156 {"unicodedata", initunicodedata},
157 {"zlib", initzlib},
158#ifdef USE_SOCKET
159 {"_socket", init_socket},
160 {"select", initselect},
161#endif
162#endif
163/* -- ADDMODULE MARKER 2 -- */
164
165 /* This module "lives in" with marshal.c */
166 {"marshal", PyMarshal_Init},
167
168 /* This lives it with import.c */
169 {"imp", initimp},
170
171 /* These entries are here for sys.builtin_module_names */
172 {"__main__", NULL},
173 {"__builtin__", NULL},
174 {"sys", NULL},
175 {"exceptions", NULL},
176
177 /* This lives in gcmodule.c */
178 {"gc", initgc},
179
180 /* Sentinel */
181 {0, 0}
182};
Note: See TracBrowser for help on using the repository browser.