]> granicus.if.org Git - python/commitdiff
Use Python.h, not allobjects.h.
authorGuido van Rossum <guido@python.org>
Mon, 5 May 1997 22:18:50 +0000 (22:18 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 5 May 1997 22:18:50 +0000 (22:18 +0000)
Don't call initall()  (Experimental incompatible change!!!!!!)

PC/dl_nt.c

index 16b93192a073f44a248dac45aa642057c38a3e1f..e80c3cfd8b2f4f14ec33ff7f28ea4b19826433ba 100644 (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;