2019-06-19 06:48:09 +08:00
|
|
|
#ifndef Py_LIMITED_API
|
|
|
|
#ifndef Py_INTERNAL_IMPORT_H
|
|
|
|
#define Py_INTERNAL_IMPORT_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-06-19 08:54:39 +08:00
|
|
|
PyAPI_FUNC(PyObject *) _PyImport_FindBuiltin(
|
|
|
|
PyThreadState *tstate,
|
|
|
|
const char *name /* UTF-8 encoded string */
|
|
|
|
);
|
|
|
|
|
2019-06-19 06:48:09 +08:00
|
|
|
extern void _PyImport_ReInitLock(void);
|
2019-06-19 16:36:10 +08:00
|
|
|
extern void _PyImport_Cleanup(PyThreadState *tstate);
|
2019-06-19 06:48:09 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_IMPORT_H */
|
|
|
|
#endif /* !Py_LIMITED_API */
|