Staging
v0.5.1
https://github.com/python/cpython
Revision 7db3c488335168993689ddae5914a28e16188447 authored by Serhiy Storchaka on 25 October 2016, 06:30:43 UTC, committed by Serhiy Storchaka on 25 October 2016, 06:30:43 UTC
1 parent 802883a
Raw File
Tip revision: 7db3c488335168993689ddae5914a28e16188447 authored by Serhiy Storchaka on 25 October 2016, 06:30:43 UTC
Issue #28517: Fixed of-by-one error in the peephole optimizer that caused
Tip revision: 7db3c48
importdl.h
#ifndef Py_IMPORTDL_H
#define Py_IMPORTDL_H

#ifdef __cplusplus
extern "C" {
#endif


extern const char *_PyImport_DynLoadFiletab[];

extern PyObject *_PyImport_LoadDynamicModuleWithSpec(PyObject *spec, 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
typedef void (*dl_funcptr)(void);
#endif


#ifdef __cplusplus
}
#endif
#endif /* !Py_IMPORTDL_H */
back to top