Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: b00a2b5b76afded9fccaad61cfca1cc0baafdbdc authored by Ɓukasz Langa on 09 December 2019, 17:47:55 UTC
Python 3.8.1rc1
Tip revision: b00a2b5
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