/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
contrib/tools/python3/Python/importdl.h
35 строк
740 B
Anton Myagkov
Update ydb version to 24.4 (#4579)
07 фев 2026, 11:59
Не верифицирован
07 фев 2026, 11:59
2c21cae
Код
Авторство
О чём код?
#ifndef Py_IMPORTDL_H #define Py_IMPORTDL_H #ifdef __cplusplus extern "C" { #endif extern const char *_PyImport_DynLoadFiletab[]; extern PyObject *_PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *); typedef PyObject *(*PyModInitFunction)(void); #if defined(__EMSCRIPTEN__) && defined(PY_CALL_TRAMPOLINE) extern PyObject *_PyImport_InitFunc_TrampolineCall(PyModInitFunction func); #else #define _PyImport_InitFunc_TrampolineCall(func) (func)() #endif /* Max length of module suffix searched for -- accommodates "module.slb" */ #define MAXSUFFIXSIZE 12 #ifdef MS_WINDOWS #include <windows.h> typedef FARPROC dl_funcptr; #else typedef void (*dl_funcptr)(void); #endif #ifdef __cplusplus } #endif #endif /* !Py_IMPORTDL_H */