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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user