9 /* Definitions for dynamic loading of extension modules */
15 PY_RESOURCE
, /* Mac only */
19 PY_CODERESOURCE
, /* Mac only */
28 extern struct filedescr
* _PyImport_Filetab
;
29 extern const struct filedescr _PyImport_DynLoadFiletab
[];
31 extern PyObject
*_PyImport_LoadDynamicModule(char *name
, char *pathname
,
34 /* Max length of module suffix searched for -- accommodates "module.slb" */
35 #define MAXSUFFIXSIZE 12
39 typedef FARPROC dl_funcptr
;
41 #if defined(PYOS_OS2) && !defined(PYCC_GCC)
43 typedef int (* APIENTRY dl_funcptr
)();
45 typedef void (*dl_funcptr
)(void);
53 #endif /* !Py_IMPORTDL_H */