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
|
|
|
|
|
2019-06-18 21:54:39 -03:00
|
|
|
PyAPI_FUNC(PyObject *) _PyImport_FindBuiltin(
|
|
|
|
PyThreadState *tstate,
|
|
|
|
const char *name /* UTF-8 encoded string */
|
|
|
|
);
|
|
|
|
|
2020-04-14 13:16:24 -03:00
|
|
|
#ifdef HAVE_FORK
|
2019-06-18 19:48:09 -03:00
|
|
|
extern void _PyImport_ReInitLock(void);
|
2020-04-14 13:16:24 -03:00
|
|
|
#endif
|
2019-06-19 05:36:10 -03:00
|
|
|
extern void _PyImport_Cleanup(PyThreadState *tstate);
|
2019-06-18 19:48:09 -03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_IMPORT_H */
|
|
|
|
#endif /* !Py_LIMITED_API */
|