1 #ifndef Py_IMPORTDL_H 2 #define Py_IMPORTDL_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 9 extern const char *_PyImport_DynLoadFiletab[]; 10 11 extern PyObject *_PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *); 12 13 /* Max length of module suffix searched for -- accommodates "module.slb" */ 14 #define MAXSUFFIXSIZE 12 15 16 #ifdef MS_WINDOWS 17 #include <windows.h> 18 typedef FARPROC dl_funcptr; 19 #else 20 typedef void (*dl_funcptr)(void); 21 #endif 22 23 24 #ifdef __cplusplus 25 } 26 #endif 27 #endif /* !Py_IMPORTDL_H */ 28