Staging
v0.5.1
https://github.com/python/cpython
Revision b26441ee1f896d893862f402119b9001cc71c35b authored by Ned Deily on 18 June 2019, 21:02:54 UTC, committed by Ned Deily on 18 June 2019, 21:02:54 UTC
1 parent 23d9fcb
Raw File
Tip revision: b26441ee1f896d893862f402119b9001cc71c35b authored by Ned Deily on 18 June 2019, 21:02:54 UTC
3.7.4rc1
Tip revision: b26441e
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