Staging
v0.5.0
https://github.com/python/cpython
Raw File
Tip revision: d384df407ebdbb1ab386597658f1ac78e8803afe authored by Ned Deily on 17 June 2020, 10:59:51 UTC
3.6.11rc1
Tip revision: d384df4
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