2021-08-13 10:20:45 +00:00
|
|
|
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-│
|
|
|
|
│vi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :vi│
|
|
|
|
╞══════════════════════════════════════════════════════════════════════════════╡
|
|
|
|
│ Python 3 │
|
|
|
|
│ https://docs.python.org/3/license.html │
|
|
|
|
╚─────────────────────────────────────────────────────────────────────────────*/
|
2021-09-07 18:40:11 +00:00
|
|
|
#include "third_party/python/Include/import.h"
|
2021-09-28 05:58:51 +00:00
|
|
|
#include "third_party/python/Include/object.h"
|
2021-09-07 18:40:11 +00:00
|
|
|
/* clang-format off */
|
2021-08-08 21:19:30 +00:00
|
|
|
|
2021-09-28 05:58:51 +00:00
|
|
|
PyObject *PyInit_posix(void);
|
2021-09-07 18:40:11 +00:00
|
|
|
PyObject *PyInit__codecs(void);
|
2021-09-28 05:58:51 +00:00
|
|
|
PyObject *PyInit_itertools(void);
|
2021-09-07 18:40:11 +00:00
|
|
|
PyObject *PyInit__io(void);
|
|
|
|
PyObject *PyInit__weakref(void);
|
|
|
|
PyObject *PyMarshal_Init(void);
|
2021-09-28 05:58:51 +00:00
|
|
|
PyObject *PyInit__ast(void);
|
|
|
|
PyObject *PyInit_gc(void);
|
2021-09-07 18:40:11 +00:00
|
|
|
PyObject *_PyWarnings_Init(void);
|
2021-09-28 05:58:51 +00:00
|
|
|
PyObject *PyInit__string(void);
|
2021-09-07 18:40:11 +00:00
|
|
|
|
|
|
|
_Alignas(16) _Section(".rodata.pytab.0") const struct _inittab _PyImport_Inittab[0];
|
|
|
|
_Alignas(16) _Section(".rodata.pytab.2") const struct _inittab _PyImport_Inittab2[] = {
|
2021-08-08 21:19:30 +00:00
|
|
|
{"posix", PyInit_posix},
|
|
|
|
{"_codecs", PyInit__codecs},
|
|
|
|
{"itertools", PyInit_itertools},
|
|
|
|
{"_io", PyInit__io},
|
|
|
|
{"_weakref", PyInit__weakref},
|
|
|
|
{"marshal", PyMarshal_Init},
|
|
|
|
{"_imp", PyInit_imp},
|
|
|
|
{"_ast", PyInit__ast},
|
|
|
|
{"builtins", NULL},
|
|
|
|
{"sys", NULL},
|
|
|
|
{"gc", PyInit_gc},
|
2021-09-28 05:58:51 +00:00
|
|
|
{"_warnings", _PyWarnings_Init},
|
2021-08-08 21:19:30 +00:00
|
|
|
{"_string", PyInit__string},
|
2021-09-28 05:58:51 +00:00
|
|
|
{0}
|
2021-08-08 21:19:30 +00:00
|
|
|
};
|