4 /* Module configuration */
6 /* This file contains the table of built-in modules.
7 See init_builtin() in import.c. */
12 cat $* | awk '!/^#/ && NF>0 {if(NF==1) fn="init" $1; else fn=$2; printf("extern void %s(void);\n", fn);}'
16 extern void PyMarshal_Init(void);
17 extern void initimp(void);
18 extern void initgc(void);
19 extern void init_ast(void);
20 extern void init_types(void);
22 struct _inittab _PyImport_Inittab[] = {
26 cat $* | awk '!/^#/ && NF>0 {if(NF==1) fn="init" $1; else fn=$2; printf("\t{\"%s\", %s},\n", $1, fn);}'
30 /* This module lives in marshal.c */
31 {"marshal", PyMarshal_Init},
33 /* This lives in import.c */
36 /* This lives in Python/Python-ast.c */
39 /* This lives in Python/_types.c */
40 {"_types", init_types},
42 /* These entries are here for sys.builtin_module_names */
44 {"__builtin__", NULL},
48 /* This lives in gcmodule.c */