Staging
v0.8.1
https://github.com/python/cpython
Revision 99b594404d364b363c184f48338d6ee81bee26dd authored by Pablo Galindo on 02 December 2020, 17:56:17 UTC, committed by GitHub on 02 December 2020, 17:56:17 UTC
1 parent 5977a79
Raw File
Tip revision: 99b594404d364b363c184f48338d6ee81bee26dd authored by Pablo Galindo on 02 December 2020, 17:56:17 UTC
bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607)
Tip revision: 99b5944
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