Mercurial > cpython-lru_cache-weakref
view Python/importdl.h @ 77115:352147bbefdb
#14862: Add missing names to os.__all__
| author | Petri Lehtinen <petri@digip.org> |
|---|---|
| date | Wed, 23 May 2012 21:36:16 +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 */
