Staging
v0.8.1
https://github.com/python/cpython
Revision a26b3f183d1101a21c51a5bd0c75834dfe859039 authored by Serhiy Storchaka on 06 February 2014, 20:52:23 UTC, committed by Serhiy Storchaka on 06 February 2014, 20:52:23 UTC
2 parent s a146bef + bc27a05
Raw File
Tip revision: a26b3f183d1101a21c51a5bd0c75834dfe859039 authored by Serhiy Storchaka on 06 February 2014, 20:52:23 UTC
Issue #20363. Fixed BytesWarning triggerred by test suite.
Tip revision: a26b3f1
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
typedef void (*dl_funcptr)(void);
#endif


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