8 /***********************************************************
9 Copyright (c) 2000, BeOpen.com.
10 Copyright (c) 1995-2000, Corporation for National Research Initiatives.
11 Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
14 See the file "Misc/COPYRIGHT" for information on usage and
15 redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
16 ******************************************************************/
18 /* Definitions for dynamic loading of extension modules */
24 PY_RESOURCE
, /* Mac only */
28 PY_CODERESOURCE
/* Mac only */
36 extern struct filedescr
* _PyImport_Filetab
;
37 extern const struct filedescr _PyImport_DynLoadFiletab
[];
39 extern PyObject
*_PyImport_LoadDynamicModule(char *name
, char *pathname
,
42 /* Max length of module suffix searched for -- accommodates "module.slb" */
43 #define MAXSUFFIXSIZE 12
47 typedef FARPROC dl_funcptr
;
50 typedef int (* APIENTRY dl_funcptr
)();
52 typedef void (*dl_funcptr
)(void);
60 #endif /* !Py_IMPORTDL_H */