mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Use Python.h, not allobjects.h.
Don't call initall() (Experimental incompatible change!!!!!!)
This commit is contained in:
parent
db9353e17d
commit
a1ebdbddb3
1 changed files with 2 additions and 4 deletions
|
|
@ -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,
|
||||||
{
|
{
|
||||||
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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue