Commit a1ebdbdd authored by Guido van Rossum's avatar Guido van Rossum

Use Python.h, not allobjects.h.

Don't call initall()  (Experimental incompatible change!!!!!!)
parent db9353e1
...@@ -10,10 +10,8 @@ forgotten) from the programmer. ...@@ -10,10 +10,8 @@ forgotten) from the programmer.
#include "windows.h" #include "windows.h"
/* NT and Python share these */ /* NT and Python share these */
#undef INCREF
#undef DECREF
#include "config.h" #include "config.h"
#include "allobjects.h" #include "Python.h"
HMODULE PyWin_DLLhModule = NULL; HMODULE PyWin_DLLhModule = NULL;
...@@ -25,7 +23,7 @@ BOOL WINAPI DllMain (HANDLE hInst, ...@@ -25,7 +23,7 @@ BOOL WINAPI DllMain (HANDLE hInst,
{ {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
PyWin_DLLhModule = hInst; PyWin_DLLhModule = hInst;
initall(); //initall();
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment