Mercurial > cpython-lru_cache-weakref
view Python/importdl.h @ 83447:678564fc0962 3.3
#17789: test_random now works with unittest test discovery. Patch by Zachary Ware.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Fri, 19 Apr 2013 05:45:27 +0300 |
| parents | 22b0689346f9 |
| children | ffc6e6b00949 |
line wrap: on
line source
#ifndef Py_IMPORTDL_H #define Py_IMPORTDL_H #ifdef __cplusplus extern "C" { #endif extern const char *_PyImport_DynLoadFiletab[]; extern PyObject *_PyImport_LoadDynamicModule(PyObject *name, PyObject *pathname, FILE *); /* Max length of module suffix searched for -- accommodates "module.slb" */ #define MAXSUFFIXSIZE 12 #ifdef MS_WINDOWS #include <windows.h> typedef FARPROC dl_funcptr; #else #if defined(PYOS_OS2) && !defined(PYCC_GCC) #include <os2def.h> typedef int (* APIENTRY dl_funcptr)(); #else typedef void (*dl_funcptr)(void); #endif #endif #ifdef __cplusplus } #endif #endif /* !Py_IMPORTDL_H */
