Mercurial > cpython-lru_cache-weakref
diff Python/importdl.h @ 5894:e2df95b7be78 legacy-trunk
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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 21 Jul 1997 14:54:36 +0000 |
| parents | fb39d288664b |
| children | 4279f4eb210a |
line wrap: on
line diff
--- a/Python/importdl.h Sat Jul 19 23:46:59 1997 +0000 +++ b/Python/importdl.h Mon Jul 21 14:54:36 1997 +0000 @@ -42,9 +42,8 @@ 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
