Staging
v0.5.1
https://github.com/python/cpython
Revision d1f9352bd4b30ccfe665109b1341433a00dc6256 authored by Victor Stinner on 03 August 2012, 23:22:07 UTC, committed by Victor Stinner on 03 August 2012, 23:22:07 UTC
2 parent s 3c25dfb + 401e17d
Raw File
Tip revision: d1f9352bd4b30ccfe665109b1341433a00dc6256 authored by Victor Stinner on 03 August 2012, 23:22:07 UTC
(Merge 3.2) open() / TextIOWrapper doc: make it explicit than newline='\n'
Tip revision: d1f9352
importdl.h
#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 */
back to top