You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
487 B

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