commit | 1a21451b1d73b65af949193208372e86bf308411 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Wed Jun 11 05:26:20 2008 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Wed Jun 11 05:26:20 2008 +0000 |
tree | 8e98d7be9e249b011ae9380479656e5284ec0234 | |
parent | cdf94635d7e364f9ce1905bafa5b540f4d16147c [diff] [blame] |
Implement PEP 3121: new module initialization and finalization API.
diff --git a/Python/dynload_win.c b/Python/dynload_win.c index 4db12c4..21e71b2 100644 --- a/Python/dynload_win.c +++ b/Python/dynload_win.c
@@ -165,7 +165,7 @@ dl_funcptr p; char funcname[258], *import_python; - PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname); + PyOS_snprintf(funcname, sizeof(funcname), "PyInit_init%.200s", shortname); { HINSTANCE hDLL = NULL;