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:
Guido van Rossum 1997-07-21 14:54:36 +00:00
parent 766118525a
commit ef3d02ebb9
3 changed files with 6 additions and 14 deletions

View file

@ -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