https://github.com/python/cpython
Raw File
Tip revision: 891331134516784ff1c5ad8d1720fdc2d056a15f authored by Ned Deily on 07 July 2017, 07:16:00 UTC
Version bump to 3.6.2rc2
Tip revision: 8913311
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