2019-06-18 19:48:09 -03:00
|
|
|
#ifndef Py_LIMITED_API
|
|
|
|
#ifndef Py_INTERNAL_IMPORT_H
|
|
|
|
#define Py_INTERNAL_IMPORT_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-04-14 13:16:24 -03:00
|
|
|
#ifdef HAVE_FORK
|
2020-06-02 10:51:37 -03:00
|
|
|
extern PyStatus _PyImport_ReInitLock(void);
|
2020-04-14 13:16:24 -03:00
|
|
|
#endif
|
2020-11-18 18:18:29 -04:00
|
|
|
extern PyObject* _PyImport_BootstrapImp(PyThreadState *tstate);
|
2019-06-18 19:48:09 -03:00
|
|
|
|
2021-10-05 14:26:37 -03:00
|
|
|
struct _module_alias {
|
|
|
|
const char *name; /* ASCII encoded string */
|
|
|
|
const char *orig; /* ASCII encoded string */
|
|
|
|
};
|
|
|
|
|
2021-10-28 18:04:33 -03:00
|
|
|
PyAPI_DATA(const struct _frozen *) _PyImport_FrozenBootstrap;
|
|
|
|
PyAPI_DATA(const struct _frozen *) _PyImport_FrozenStdlib;
|
|
|
|
PyAPI_DATA(const struct _frozen *) _PyImport_FrozenTest;
|
2021-10-05 14:26:37 -03:00
|
|
|
extern const struct _module_alias * _PyImport_FrozenAliases;
|
|
|
|
|
2019-06-18 19:48:09 -03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_IMPORT_H */
|
|
|
|
#endif /* !Py_LIMITED_API */
|