Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a1ebdbd

Browse files
committed
Use Python.h, not allobjects.h.
Don't call initall() (Experimental incompatible change!!!!!!)
1 parent db9353e commit a1ebdbd

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

PC/dl_nt.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ forgotten) from the programmer.
1010
#include "windows.h"
1111

1212
/* NT and Python share these */
13-
#undef INCREF
14-
#undef DECREF
1513
#include "config.h"
16-
#include "allobjects.h"
14+
#include "Python.h"
1715

1816
HMODULE PyWin_DLLhModule = NULL;
1917

@@ -25,7 +23,7 @@ BOOL WINAPI DllMain (HANDLE hInst,
2523
{
2624
case DLL_PROCESS_ATTACH:
2725
PyWin_DLLhModule = hInst;
28-
initall();
26+
//initall();
2927
break;
3028
case DLL_PROCESS_DETACH:
3129
break;

0 commit comments

Comments
 (0)