Mercurial > cpython-lru_cache-weakref
view Python/importdl.h @ 80553:bf1bf3bf3fe2 3.3
Address reviews for open’s opener argument doc patch (#13424).
* Remove example deemed not helpful.
* Simplify the other one.
* Add missing target to ref.
| author | Éric Araujo <merwok@netwok.org> |
|---|---|
| date | Thu, 22 Nov 2012 00:13:49 -0500 |
| 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 */
