diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-10-24 23:06:56 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-10-24 23:06:56 +0300 |
commit | 96e3c00794c56103677f83937276d9b36fafcbb6 (patch) | |
tree | 02a1ae77d5a41cab6f22b076745f37488891d97d /Python/dynload_os2.c | |
parent | f374fd439129c8845636dbcd6b9db788ca30ddc5 (diff) | |
parent | 3afc106889340dadee60bd7407e11380d45c18e7 (diff) | |
download | cpython-96e3c00794c56103677f83937276d9b36fafcbb6.tar.gz |
#16210: merge with 3.2.
Diffstat (limited to 'Python/dynload_os2.c')
-rw-r--r-- | Python/dynload_os2.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Python/dynload_os2.c b/Python/dynload_os2.c index 101c024bbe..0e1b907b8c 100644 --- a/Python/dynload_os2.c +++ b/Python/dynload_os2.c @@ -9,13 +9,9 @@ #include "importdl.h" -const struct filedescr _PyImport_DynLoadFiletab[] = { - {".pyd", "rb", C_EXTENSION}, - {".dll", "rb", C_EXTENSION}, - {0, 0} -}; +const char *_PyImport_DynLoadFiletab[] = {".pyd", ".dll", NULL}; -dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, +dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname, const char *pathname, FILE *fp) { dl_funcptr p; |