summaryrefslogtreecommitdiffstats
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-21 14:54:36 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-21 14:54:36 (GMT)
commitef3d02ebb955d01b2a8484d7c25f5ced4bf2036d (patch)
treee5c9f58a81c0a3489f51f267393d355f60a4be58 /Python/importdl.h
parent766118525adee39af4e009e765ee1364df956964 (diff)
downloadcpython-ef3d02ebb955d01b2a8484d7c25f5ced4bf2036d.zip
cpython-ef3d02ebb955d01b2a8484d7c25f5ced4bf2036d.tar.gz
cpython-ef3d02ebb955d01b2a8484d7c25f5ced4bf2036d.tar.bz2
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.
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index f1bdeab..4587841 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -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