Use Python.h, not allobjects.h.

Don't call initall()  (Experimental incompatible change!!!!!!)
This commit is contained in:
Guido van Rossum 1997-05-05 22:18:50 +00:00
parent db9353e17d
commit a1ebdbddb3

View file

@ -10,10 +10,8 @@ forgotten) from the programmer.
#include "windows.h"
/* NT and Python share these */
#undef INCREF
#undef DECREF
#include "config.h"
#include "allobjects.h"
#include "Python.h"
HMODULE PyWin_DLLhModule = NULL;
@ -25,7 +23,7 @@ BOOL WINAPI DllMain (HANDLE hInst,
{
case DLL_PROCESS_ATTACH:
PyWin_DLLhModule = hInst;
initall();
//initall();
break;
case DLL_PROCESS_DETACH:
break;