~ubuntu-branches/ubuntu/trusty/python3.4/trusty-proposed

« back to all changes in this revision

Viewing changes to Modules/config.c.in

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-11-25 09:44:27 UTC
  • Revision ID: package-import@ubuntu.com-20131125094427-lzxj8ap5w01lmo7f
Tags: upstream-3.4~b1
ImportĀ upstreamĀ versionĀ 3.4~b1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- C -*- ***********************************************
 
2
Copyright (c) 2000, BeOpen.com.
 
3
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
 
4
Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
 
5
All rights reserved.
 
6
 
 
7
See the file "Misc/COPYRIGHT" for information on usage and
 
8
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 
9
******************************************************************/
 
10
 
 
11
/* Module configuration */
 
12
 
 
13
/* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
 
14
 
 
15
/* This file contains the table of built-in modules.
 
16
   See init_builtin() in import.c. */
 
17
 
 
18
#include "Python.h"
 
19
 
 
20
#ifdef __cplusplus
 
21
extern "C" {
 
22
#endif
 
23
 
 
24
 
 
25
/* -- ADDMODULE MARKER 1 -- */
 
26
 
 
27
extern PyObject* PyMarshal_Init(void);
 
28
extern PyObject* PyInit_imp(void);
 
29
extern PyObject* PyInit_gc(void);
 
30
extern PyObject* PyInit__ast(void);
 
31
extern PyObject* _PyWarnings_Init(void);
 
32
extern PyObject* PyInit__string(void);
 
33
 
 
34
struct _inittab _PyImport_Inittab[] = {
 
35
 
 
36
/* -- ADDMODULE MARKER 2 -- */
 
37
 
 
38
    /* This module lives in marshal.c */
 
39
    {"marshal", PyMarshal_Init},
 
40
 
 
41
    /* This lives in import.c */
 
42
    {"_imp", PyInit_imp},
 
43
 
 
44
    /* This lives in Python/Python-ast.c */
 
45
    {"_ast", PyInit__ast},
 
46
 
 
47
    /* These entries are here for sys.builtin_module_names */
 
48
    {"builtins", NULL},
 
49
    {"sys", NULL},
 
50
 
 
51
    /* This lives in gcmodule.c */
 
52
    {"gc", PyInit_gc},
 
53
 
 
54
    /* This lives in _warnings.c */
 
55
    {"_warnings", _PyWarnings_Init},
 
56
 
 
57
    /* This lives in Objects/unicodeobject.c */
 
58
    {"_string", PyInit__string},
 
59
 
 
60
    /* Sentinel */
 
61
    {0, 0}
 
62
};
 
63
 
 
64
 
 
65
#ifdef __cplusplus
 
66
}
 
67
#endif