summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-11-18 13:22:34 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2012-11-18 13:22:34 +0200
commit75b28c9f1e3d23691aa7660c25662b79c183f9d6 (patch)
tree814d502c5e0bedfdea0975802c8293c1c8ecde38 /Python/importdl.h
parent228efff6e2224ff3e5211f032e424d9b22be38cf (diff)
parent4187088935080307599f773d48203c21e8157d59 (diff)
downloadcpython-75b28c9f1e3d23691aa7660c25662b79c183f9d6.tar.gz
#14313: null merge.
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index b4d21be6f0..6b9cf750a4 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -6,29 +6,9 @@ extern "C" {
#endif
-/* Definitions for dynamic loading of extension modules */
-enum filetype {
- SEARCH_ERROR,
- PY_SOURCE,
- PY_COMPILED,
- C_EXTENSION,
- PY_RESOURCE, /* Mac only */
- PKG_DIRECTORY,
- C_BUILTIN,
- PY_FROZEN,
- PY_CODERESOURCE, /* Mac only */
- IMP_HOOK
-};
-
-struct filedescr {
- char *suffix;
- char *mode;
- enum filetype type;
-};
-extern struct filedescr * _PyImport_Filetab;
-extern const struct filedescr _PyImport_DynLoadFiletab[];
-
-extern PyObject *_PyImport_LoadDynamicModule(char *name, char *pathname,
+extern const char *_PyImport_DynLoadFiletab[];
+
+extern PyObject *_PyImport_LoadDynamicModule(PyObject *name, PyObject *pathname,
FILE *);
/* Max length of module suffix searched for -- accommodates "module.slb" */