mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Removed some variables that are used to exchange data between import.c and
importdl.c: the MAXSUFFIXSIZE macro is now defined in importdl.h, and the modules dictionary is now passed using PyImport_GetModuleDict(). Also undefine USE_SHLIB for AIX -- in AIX 4.2 and up, dlfcn.h exists but we don't want to use it.
This commit is contained in:
parent
766118525a
commit
ef3d02ebb9
3 changed files with 6 additions and 14 deletions
|
@ -42,9 +42,8 @@ extern struct filedescr {
|
|||
enum filetype type;
|
||||
} _PyImport_Filetab[];
|
||||
|
||||
extern PyObject *_PyImport_Modules;
|
||||
|
||||
extern PyObject *_PyImport_LoadDynamicModule
|
||||
Py_PROTO((char *name, char *pathname, FILE *));
|
||||
|
||||
extern int _PyImport_MaxSuffixSize;
|
||||
/* Max length of module suffix searched for -- accommodates "module.slb" */
|
||||
#define MAXSUFFIXSIZE 12
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue