Home | History | Annotate | Download | only in Modules
      1 /* Generated automatically from ./Modules/config.c.in by makesetup. */
      2 /* -*- C -*- ***********************************************
      3 Copyright (c) 2000, BeOpen.com.
      4 Copyright (c) 1995-2000, Corporation for National Research Initiatives.
      5 Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
      6 All rights reserved.
      7 
      8 See the file "Misc/COPYRIGHT" for information on usage and
      9 redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
     10 ******************************************************************/
     11 
     12 /* Module configuration */
     13 
     14 /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
     15 
     16 /* This file contains the table of built-in modules.
     17    See init_builtin() in import.c. */
     18 
     19 #include "Python.h"
     20 
     21 #ifdef __cplusplus
     22 extern "C" {
     23 #endif
     24 
     25 
     26 extern void initthread(void);
     27 extern void initsignal(void);
     28 extern void initposix(void);
     29 extern void initerrno(void);
     30 extern void initpwd(void);
     31 extern void init_sre(void);
     32 extern void init_codecs(void);
     33 extern void init_weakref(void);
     34 extern void initzipimport(void);
     35 extern void init_symtable(void);
     36 extern void initarray(void);
     37 extern void initcmath(void);
     38 extern void initmath(void);
     39 extern void init_struct(void);
     40 extern void inittime(void);
     41 extern void initoperator(void);
     42 extern void init_testcapi(void);
     43 extern void init_random(void);
     44 extern void init_collections(void);
     45 extern void init_heapq(void);
     46 extern void inititertools(void);
     47 extern void initstrop(void);
     48 extern void init_functools(void);
     49 extern void initdatetime(void);
     50 extern void init_bisect(void);
     51 extern void initunicodedata(void);
     52 extern void init_io(void);
     53 extern void initfcntl(void);
     54 extern void initselect(void);
     55 extern void initmmap(void);
     56 extern void init_csv(void);
     57 extern void init_socket(void);
     58 extern void inittermios(void);
     59 extern void init_md5(void);
     60 extern void init_sha(void);
     61 extern void init_sha256(void);
     62 extern void init_sha512(void);
     63 extern void initbinascii(void);
     64 extern void initparser(void);
     65 extern void initcStringIO(void);
     66 extern void initcPickle(void);
     67 extern void initxxsubtype(void);
     68 extern void initfuture_builtins(void);
     69 extern void init_json(void);
     70 extern void init_hotshot(void);
     71 extern void init_lsprof(void);
     72 extern void initgrp(void);
     73 extern void initsyslog(void);
     74 extern void initaudioop(void);
     75 extern void initresource(void);
     76 extern void init_multibytecodec(void);
     77 extern void init_multiprocessing(void);
     78 extern void initzlib(void);
     79 extern void initpyexpat(void);
     80 extern void init_sqlite3(void);
     81 extern void init_ctypes(void);
     82 extern void init_ctypes_test(void);
     83 
     84 /* -- ADDMODULE MARKER 1 -- */
     85 
     86 extern void PyMarshal_Init(void);
     87 extern void initimp(void);
     88 extern void initgc(void);
     89 extern void init_ast(void);
     90 extern void _PyWarnings_Init(void);
     91 
     92 struct _inittab _PyImport_Inittab[] = {
     93 
     94     {"thread", initthread},
     95     {"signal", initsignal},
     96     {"posix", initposix},
     97     {"errno", initerrno},
     98     {"pwd", initpwd},
     99     {"_sre", init_sre},
    100     {"_codecs", init_codecs},
    101     {"_weakref", init_weakref},
    102     {"zipimport", initzipimport},
    103     {"_symtable", init_symtable},
    104     {"array", initarray},
    105     {"cmath", initcmath},
    106     {"math", initmath},
    107     {"_struct", init_struct},
    108     {"time", inittime},
    109     {"operator", initoperator},
    110     {"_testcapi", init_testcapi},
    111     {"_random", init_random},
    112     {"_collections", init_collections},
    113     {"_heapq", init_heapq},
    114     {"itertools", inititertools},
    115     {"strop", initstrop},
    116     {"_functools", init_functools},
    117     {"datetime", initdatetime},
    118     {"_bisect", init_bisect},
    119     {"unicodedata", initunicodedata},
    120     {"_io", init_io},
    121     {"fcntl", initfcntl},
    122     {"select", initselect},
    123     {"mmap", initmmap},
    124     {"_csv", init_csv},
    125     {"_socket", init_socket},
    126     {"termios", inittermios},
    127     {"_md5", init_md5},
    128     {"_sha", init_sha},
    129     {"_sha256", init_sha256},
    130     {"_sha512", init_sha512},
    131     {"binascii", initbinascii},
    132     {"parser", initparser},
    133     {"cStringIO", initcStringIO},
    134     {"cPickle", initcPickle},
    135     {"xxsubtype", initxxsubtype},
    136     {"future_builtins", initfuture_builtins},
    137     {"_json", init_json},
    138     {"_hotshot", init_hotshot},
    139     {"_lsprof", init_lsprof},
    140     {"grp", initgrp},
    141     {"syslog", initsyslog},
    142     {"audioop", initaudioop},
    143     {"resource", initresource},
    144     {"_multibytecodec", init_multibytecodec},
    145     {"_multiprocessing", init_multiprocessing},
    146     {"zlib", initzlib},
    147     {"pyexpat", initpyexpat},
    148     {"_sqlite3", init_sqlite3},
    149     {"_ctypes", init_ctypes},
    150     {"_ctypes_test", init_ctypes_test},
    151 
    152 /* -- ADDMODULE MARKER 2 -- */
    153 
    154     /* This module lives in marshal.c */
    155     {"marshal", PyMarshal_Init},
    156 
    157     /* This lives in import.c */
    158     {"imp", initimp},
    159 
    160     /* This lives in Python/Python-ast.c */
    161     {"_ast", init_ast},
    162 
    163     /* These entries are here for sys.builtin_module_names */
    164     {"__main__", NULL},
    165     {"__builtin__", NULL},
    166     {"sys", NULL},
    167     {"exceptions", NULL},
    168 
    169     /* This lives in gcmodule.c */
    170     {"gc", initgc},
    171 
    172     /* This lives in _warnings.c */
    173     {"_warnings", _PyWarnings_Init},
    174 
    175     /* Sentinel */
    176     {0, 0}
    177 };
    178 
    179 
    180 #ifdef __cplusplus
    181 }
    182 #endif
    183