importdl.h 487 Bytes
Newer Older
1 2 3 4 5 6 7
#ifndef Py_IMPORTDL_H
#define Py_IMPORTDL_H

#ifdef __cplusplus
extern "C" {
#endif

8

9
extern const char *_PyImport_DynLoadFiletab[];
10

11
extern PyObject *_PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *);
12

13 14
/* Max length of module suffix searched for -- accommodates "module.slb" */
#define MAXSUFFIXSIZE 12
15 16

#ifdef MS_WINDOWS
17
#include <windows.h>
18 19 20 21 22 23 24 25 26 27
typedef FARPROC dl_funcptr;
#else
typedef void (*dl_funcptr)(void);
#endif


#ifdef __cplusplus
}
#endif
#endif /* !Py_IMPORTDL_H */