Staging
v0.8.1
https://github.com/python/cpython
Revision 6a7fb9d31bce8590e30c44458d1fc1da4539743d authored by kj on 06 December 2020, 16:37:59 UTC, committed by GitHub on 06 December 2020, 16:37:59 UTC
1 parent c598a04
Raw File
Tip revision: 6a7fb9d31bce8590e30c44458d1fc1da4539743d authored by kj on 06 December 2020, 16:37:59 UTC
bpo-42576: Clarify only debug builds are affected in news (GH-23663)
Tip revision: 6a7fb9d
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top